mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
refactor: use third argument of test for timeout
This commit is contained in:
parent
6b8e9fa1be
commit
7365702bff
@ -2,7 +2,6 @@ import { loadFixture, Nuxt, Builder } from './index'
|
||||
|
||||
export const buildFixture = function buildFixture(fixture) {
|
||||
test(`Build ${fixture}`, async () => {
|
||||
jest.setTimeout(120000)
|
||||
const config = loadFixture(fixture, {
|
||||
test: true,
|
||||
build: {
|
||||
@ -16,5 +15,5 @@ export const buildFixture = function buildFixture(fixture) {
|
||||
// 2: BUILD_DONE
|
||||
expect(builder._buildStatus).toBe(2)
|
||||
expect(buildDone).toHaveBeenCalledTimes(1)
|
||||
})
|
||||
}, 120000)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user