mirror of
https://github.com/gradle/wrapper-validation-action
synced 2024-11-27 10:42:03 +00:00
Extend timeout for Jest tests
This commit is contained in:
parent
db7df1f188
commit
5d6ea91421
2 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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('.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue