From 5d6ea91421b978ba77db088069f7a8680a1ce166 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Mon, 24 Oct 2022 10:16:09 -0600 Subject: [PATCH] Extend timeout for Jest tests --- __tests__/checksums.test.ts | 4 +++- __tests__/validate.test.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/__tests__/checksums.test.ts b/__tests__/checksums.test.ts index 5b3ebbc..bda8d17 100644 --- a/__tests__/checksums.test.ts +++ b/__tests__/checksums.test.ts @@ -1,6 +1,8 @@ import * as checksums from '../src/checksums' import nock from 'nock' -import {afterEach, describe, expect, test} from '@jest/globals' +import {afterEach, describe, expect, test, jest} from '@jest/globals' + +jest.setTimeout(30000) test('fetches wrapper jars checksums', async () => { const validChecksums = await checksums.fetchValidChecksums(false) diff --git a/__tests__/validate.test.ts b/__tests__/validate.test.ts index fffcb9c..4abc79d 100644 --- a/__tests__/validate.test.ts +++ b/__tests__/validate.test.ts @@ -1,6 +1,8 @@ import * as path from 'path' import * as validate from '../src/validate' -import {expect, test} from '@jest/globals' +import {expect, test, jest} from '@jest/globals' + +jest.setTimeout(30000) const baseDir = path.resolve('.')