mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
18 lines
368 B
JavaScript
18 lines
368 B
JavaScript
import consola from 'consola'
|
|
import chalk from 'chalk'
|
|
import env from 'std-env'
|
|
|
|
const isWin = env.windows
|
|
|
|
describe.win = isWin ? describe : describe.skip
|
|
test.win = isWin ? test : test.skip
|
|
|
|
describe.posix = !isWin ? describe : describe.skip
|
|
test.posix = !isWin ? test : test.skip
|
|
|
|
chalk.enabled = false
|
|
|
|
jest.setTimeout(60000)
|
|
|
|
consola.mockTypes(() => jest.fn())
|