Skip to content

Commit

Permalink
Fix: test code failed to build
Browse files Browse the repository at this point in the history
  • Loading branch information
dev_hun committed Aug 9, 2024
1 parent 67aece7 commit 00b492e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/test/aergo_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Aergo invalid config', () => {

describe('blockchain()', () => {
it('should return disconnected error', async () => {
return assert.isRejected(invalidAergo.blockchain(), Error, '14 UNAVAILABLE: DNS resolution failed');
return assert.isRejected(invalidAergo.blockchain(), Error, '14 UNAVAILABLE: DNS resolution failed' || '14 UNAVAILABLE: Name resolution failed for target dns:invalid');
});
});

Expand Down

0 comments on commit 00b492e

Please sign in to comment.