mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
test: skip sockets test in windows platform
This commit is contained in:
parent
85c9c00b73
commit
281e2dc600
4
test/fixtures/sockets/sockets.test.js
vendored
4
test/fixtures/sockets/sockets.test.js
vendored
@ -1,3 +1,5 @@
|
||||
import { buildFixture } from '../../utils/build'
|
||||
|
||||
buildFixture('sockets')
|
||||
describe.skip.win('unix socket', () => {
|
||||
buildFixture('sockets')
|
||||
})
|
||||
|
@ -2,7 +2,7 @@ import { loadFixture, Nuxt } from '../utils'
|
||||
|
||||
let nuxt = null
|
||||
|
||||
describe.skip.appveyor('basic sockets', () => {
|
||||
describe.skip.win('basic sockets', () => {
|
||||
beforeAll(async () => {
|
||||
const options = await loadFixture('sockets')
|
||||
nuxt = new Nuxt(options)
|
||||
|
@ -3,6 +3,10 @@ const isAppveyor = !!process.env.APPVEYOR
|
||||
describe.skip.appveyor = isAppveyor ? describe.skip : describe
|
||||
test.skip.appveyor = isAppveyor ? test.skip : test
|
||||
|
||||
const isWin = process.platform === 'win32'
|
||||
describe.skip.win = isWin ? describe.skip : describe
|
||||
test.skip.win = isWin ? test.skip : test
|
||||
|
||||
jest.setTimeout(60000)
|
||||
jest.mock('consola', () => {
|
||||
const consola = {}
|
||||
|
Loading…
Reference in New Issue
Block a user