mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +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'
|
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
|
let nuxt = null
|
||||||
|
|
||||||
describe.skip.appveyor('basic sockets', () => {
|
describe.skip.win('basic sockets', () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
const options = await loadFixture('sockets')
|
const options = await loadFixture('sockets')
|
||||||
nuxt = new Nuxt(options)
|
nuxt = new Nuxt(options)
|
||||||
|
@ -3,6 +3,10 @@ const isAppveyor = !!process.env.APPVEYOR
|
|||||||
describe.skip.appveyor = isAppveyor ? describe.skip : describe
|
describe.skip.appveyor = isAppveyor ? describe.skip : describe
|
||||||
test.skip.appveyor = isAppveyor ? test.skip : test
|
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.setTimeout(60000)
|
||||||
jest.mock('consola', () => {
|
jest.mock('consola', () => {
|
||||||
const consola = {}
|
const consola = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user