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 rootDir = __dirname
|
||||||
const nuxtBin = resolve(__dirname, '..', '..', '..', 'bin', 'nuxt')
|
const nuxtBin = resolve(__dirname, '..', '..', '..', 'bin', 'nuxt')
|
||||||
|
|
||||||
describe('cli build', () => {
|
describe.skip.appveyor('cli build', () => {
|
||||||
test('nuxt build', async () => {
|
test('nuxt build', async () => {
|
||||||
const { stdout } = await execify(`node ${nuxtBin} build ${rootDir} -c cli.build.config.js`)
|
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 rootDir = __dirname
|
||||||
const nuxtBin = resolve(__dirname, '..', '..', '..', 'bin', 'nuxt')
|
const nuxtBin = resolve(__dirname, '..', '..', '..', 'bin', 'nuxt')
|
||||||
|
|
||||||
describe('cli generate', () => {
|
describe.skip.appveyor('cli generate', () => {
|
||||||
test('nuxt generate', async () => {
|
test('nuxt generate', async () => {
|
||||||
const { stdout } = await execify(`node ${nuxtBin} generate ${rootDir} -c cli.gen.config.js`)
|
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')
|
const nuxtBin = resolve(__dirname, '..', '..', 'bin', 'nuxt')
|
||||||
|
|
||||||
describe('cli', () => {
|
describe.skip.appveyor('cli', () => {
|
||||||
test('nuxt start', async () => {
|
test('nuxt start', async () => {
|
||||||
let stdout = ''
|
let stdout = ''
|
||||||
let error
|
let error
|
||||||
|
@ -9,7 +9,7 @@ const url = route => 'http://localhost:' + port + route
|
|||||||
|
|
||||||
const nuxtBin = resolve(__dirname, '..', '..', 'bin', 'nuxt')
|
const nuxtBin = resolve(__dirname, '..', '..', 'bin', 'nuxt')
|
||||||
|
|
||||||
describe('cli', () => {
|
describe.skip.appveyor('cli', () => {
|
||||||
test('nuxt start', async () => {
|
test('nuxt start', async () => {
|
||||||
let stdout = ''
|
let stdout = ''
|
||||||
let error
|
let error
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
// eslint-disable
|
// eslint-disable
|
||||||
require('babel-polyfill')
|
require('babel-polyfill')
|
||||||
|
require('consola').clear().add({
|
||||||
const consola = require('consola')
|
log: jest.fn()
|
||||||
|
})
|
||||||
|
|
||||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60 * 1000
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60 * 1000
|
||||||
|
|
||||||
consola.clear().add({
|
const isAppveyor = !!process.env.APPVEYOR
|
||||||
log: jest.fn()
|
describe.skip.appveyor = isAppveyor ? describe.skip : describe
|
||||||
})
|
test.skip.appveyor = isAppveyor ? test.skip : test
|
||||||
|
Loading…
Reference in New Issue
Block a user