Fix typos
All checks were successful
Lint & Build / lint_and_build (20.x) (pull_request) Successful in 1m58s
Tests / sdk_tests (pull_request) Successful in 20m40s

This commit is contained in:
Prathamesh Musale 2024-08-05 12:02:34 +05:30
parent a190e517fd
commit 06344cce50
2 changed files with 3 additions and 5 deletions

View File

@ -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);

View File

@ -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]);
});
});