Fix typos
This commit is contained in:
parent
a190e517fd
commit
06344cce50
@ -60,7 +60,7 @@ const nameserviceExpiryTests = () => {
|
||||
});
|
||||
|
||||
test('Wait for expiry duration', (done) => {
|
||||
// Wait expirty time + time for a block to be executed
|
||||
// Wait for expiry time + time for a block to be executed
|
||||
const expiryTime = 60 * 1000;
|
||||
const waitTime = expiryTime + (3 * 1000);
|
||||
|
||||
@ -88,7 +88,7 @@ const nameserviceExpiryTests = () => {
|
||||
});
|
||||
|
||||
test('Wait for expiry duration', (done) => {
|
||||
// Wait expirty time + time for a block to be executed
|
||||
// Wait for expiry time + time for a block to be executed
|
||||
const expiryTime = 60 * 1000;
|
||||
const waitTime = expiryTime + (3 * 1000);
|
||||
|
||||
|
@ -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]);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user