mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test: ignore multiple processes test cases in appveyor
This commit is contained in:
parent
095404a251
commit
8c85edd08b
2
test/fixtures/cli/cli.build.test.js
vendored
2
test/fixtures/cli/cli.build.test.js
vendored
@ -6,7 +6,7 @@ const execify = promisify(exec)
|
||||
const rootDir = __dirname
|
||||
const nuxtBin = resolve(__dirname, '..', '..', '..', 'bin', 'nuxt')
|
||||
|
||||
describe('cli build', () => {
|
||||
describe.skip.appveyor('cli build', () => {
|
||||
test('nuxt build', async () => {
|
||||
const { stdout } = await execify(`node ${nuxtBin} build ${rootDir} -c cli.build.config.js`)
|
||||
|
||||
|
2
test/fixtures/cli/cli.gen.test.js
vendored
2
test/fixtures/cli/cli.gen.test.js
vendored
@ -6,7 +6,7 @@ const execify = promisify(exec)
|
||||
const rootDir = __dirname
|
||||
const nuxtBin = resolve(__dirname, '..', '..', '..', 'bin', 'nuxt')
|
||||
|
||||
describe('cli generate', () => {
|
||||
describe.skip.appveyor('cli generate', () => {
|
||||
test('nuxt generate', async () => {
|
||||
const { stdout } = await execify(`node ${nuxtBin} generate ${rootDir} -c cli.gen.config.js`)
|
||||
|
||||
|
@ -9,7 +9,7 @@ const url = route => 'http://localhost:' + port + route
|
||||
|
||||
const nuxtBin = resolve(__dirname, '..', '..', 'bin', 'nuxt')
|
||||
|
||||
describe('cli', () => {
|
||||
describe.skip.appveyor('cli', () => {
|
||||
test('nuxt start', async () => {
|
||||
let stdout = ''
|
||||
let error
|
||||
|
@ -9,7 +9,7 @@ const url = route => 'http://localhost:' + port + route
|
||||
|
||||
const nuxtBin = resolve(__dirname, '..', '..', 'bin', 'nuxt')
|
||||
|
||||
describe('cli', () => {
|
||||
describe.skip.appveyor('cli', () => {
|
||||
test('nuxt start', async () => {
|
||||
let stdout = ''
|
||||
let error
|
||||
|
@ -1,10 +1,11 @@
|
||||
// eslint-disable
|
||||
require('babel-polyfill')
|
||||
|
||||
const consola = require('consola')
|
||||
require('consola').clear().add({
|
||||
log: jest.fn()
|
||||
})
|
||||
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60 * 1000
|
||||
|
||||
consola.clear().add({
|
||||
log: jest.fn()
|
||||
})
|
||||
const isAppveyor = !!process.env.APPVEYOR
|
||||
describe.skip.appveyor = isAppveyor ? describe.skip : describe
|
||||
test.skip.appveyor = isAppveyor ? test.skip : test
|
||||
|
Loading…
Reference in New Issue
Block a user