Extend timeout for Jest tests

This commit is contained in:
Daz DeBoer 2022-10-24 10:16:09 -06:00
parent db7df1f188
commit 5d6ea91421
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,8 @@
import * as checksums from '../src/checksums' import * as checksums from '../src/checksums'
import nock from 'nock' 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 () => { test('fetches wrapper jars checksums', async () => {
const validChecksums = await checksums.fetchValidChecksums(false) const validChecksums = await checksums.fetchValidChecksums(false)

View file

@ -1,6 +1,8 @@
import * as path from 'path' import * as path from 'path'
import * as validate from '../src/validate' 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('.') const baseDir = path.resolve('.')