ci: bump test timeouts

This commit is contained in:
Haoqun Jiang
2018-10-11 00:45:18 +08:00
parent cecece73bc
commit b623b78b8e
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
jest.setTimeout(process.env.APPVEYOR ? 80000 : 60000)
jest.setTimeout(process.env.APPVEYOR ? 120000 : 60000)
const create = require('@vue/cli-test-utils/createTestProject')

View File

@@ -79,7 +79,7 @@ test('should work', async () => {
// fix it
setTimeout(() => {
write('src/App.vue', app)
}, process.env.CI ? 1000 : 200)
}, process.env.CI ? 2000 : 200)
} else if (data.match(/Compiled successfully/)) {
// should compile on 2nd update
expect(isFirstMsg).toBe(false)