Skip to content

Commit

Permalink
added retries for e2es
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Aug 8, 2023
1 parent b2a9430 commit 1f14a39
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/ensjs/src/functions/dns/getDnsImportData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const decodeProofs = (proofs: RrSetWithSig[]) =>
)

jest.setTimeout(10000)
jest.retryTimes(2)

const wait = async (ms: number) =>
// eslint-disable-next-line no-promise-executor-return
Expand Down
3 changes: 3 additions & 0 deletions packages/ensjs/src/functions/dns/getDnsOwner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ beforeEach(() => {
handler.mockReset()
})

jest.setTimeout(10000)
jest.retryTimes(2)

it('returns valid address from valid domain and record', async () => {
let name
let type
Expand Down
3 changes: 3 additions & 0 deletions packages/ensjs/src/functions/dns/importDnsName.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ afterEach(async () => {
await testClient.revert({ id: snapshot })
})

jest.setTimeout(10000)
jest.retryTimes(2)

it('should import a DNS name with no address', async () => {
const tx = await importDnsName(walletClient, {
name,
Expand Down

0 comments on commit 1f14a39

Please sign in to comment.