Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5fe6c432de | ||
|
|
37c2f5897f | ||
|
|
225aa2a6aa | ||
|
|
81dbf57fc2 | ||
|
|
a3b78fd363 | ||
|
|
52cab23c70 |
@@ -5,7 +5,6 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- release/**
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
sdk_tests:
|
||||
|
||||
Generated
-12345
File diff suppressed because it is too large
Load Diff
@@ -60,10 +60,10 @@ const nameserviceExpiryTests = () => {
|
||||
});
|
||||
|
||||
test('Wait for expiry duration', (done) => {
|
||||
// Wait for expiry time + time for a block to be executed
|
||||
const expiryTime = 60 * 1000;
|
||||
const waitTime = expiryTime + (3 * 1000);
|
||||
|
||||
// Wait some more time for block to be executed
|
||||
const waitTime = expiryTime + (3 * 1000);
|
||||
setTimeout(done, waitTime);
|
||||
});
|
||||
|
||||
@@ -88,10 +88,10 @@ const nameserviceExpiryTests = () => {
|
||||
});
|
||||
|
||||
test('Wait for expiry duration', (done) => {
|
||||
// Wait for expiry time + time for a block to be executed
|
||||
const expiryTime = 60 * 1000;
|
||||
const waitTime = expiryTime + (3 * 1000);
|
||||
|
||||
// Wait some more time for block to be executed
|
||||
const waitTime = expiryTime + (3 * 1000);
|
||||
setTimeout(done, waitTime);
|
||||
});
|
||||
|
||||
|
||||
+3
-1
@@ -183,11 +183,13 @@ const namingTests = () => {
|
||||
expect(authorities.length).toEqual(4);
|
||||
expectedEntryKeys.forEach(key => {
|
||||
authorities.forEach((authority: any) => {
|
||||
expect(authority).toHaveProperty('name');
|
||||
expect(authority.entry).toHaveProperty(key);
|
||||
});
|
||||
});
|
||||
authorities.forEach((authority: any, index: number) => {
|
||||
expect(authority).toHaveProperty('name');
|
||||
expect(authority.entry).toHaveProperty('ownerAddress');
|
||||
expect(authority.entry).toHaveProperty('status');
|
||||
expect(authority).toMatchObject(reservedAuthorities[index]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user