forked from cerc-io/registry-sdk
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d78cf76163 | ||
|
|
9d5b00ee29 | ||
|
|
f93a297857 |
@@ -5,6 +5,7 @@ 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;
|
||||
|
||||
// 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;
|
||||
|
||||
// Wait some more time for block to be executed
|
||||
const waitTime = expiryTime + (3 * 1000);
|
||||
|
||||
setTimeout(done, waitTime);
|
||||
});
|
||||
|
||||
|
||||
+1
-3
@@ -183,13 +183,11 @@ 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