1
- jest . setTimeout ( 60000 )
1
+ jest . setTimeout ( 80000 )
2
2
3
3
const path = require ( 'path' )
4
4
const fs = require ( 'fs-extra' )
@@ -20,7 +20,7 @@ test('serve', async () => {
20
20
project . write ( `src/App.vue` , file . replace ( msg , `Updated` ) )
21
21
await nextUpdate ( ) // wait for child stdout update signal
22
22
try {
23
- await page . waitForXPath ( '//h1[contains(text(), "Updated")]' )
23
+ await page . waitForXPath ( '//h1[contains(text(), "Updated")]' , { timeout : 60000 } )
24
24
} catch ( e ) {
25
25
if ( process . env . APPVEYOR && e . message . match ( 'timeout' ) ) {
26
26
// AppVeyor VM is so slow that there's a large chance this test cases will time out,
@@ -113,7 +113,7 @@ test('serve with inline entry', async () => {
113
113
project . write ( `src/App.vue` , file . replace ( msg , `Updated` ) )
114
114
await nextUpdate ( ) // wait for child stdout update signal
115
115
try {
116
- await page . waitForXPath ( '//h1[contains(text(), "Updated")]' )
116
+ await page . waitForXPath ( '//h1[contains(text(), "Updated")]' , { timeout : 60000 } )
117
117
} catch ( e ) {
118
118
if ( process . env . APPVEYOR && e . message . match ( 'timeout' ) ) {
119
119
// AppVeyor VM is so slow that there's a large chance this test cases will time out,
@@ -143,7 +143,7 @@ test('serve with no public dir', async () => {
143
143
project . write ( `src/App.vue` , file . replace ( msg , `Updated` ) )
144
144
await nextUpdate ( ) // wait for child stdout update signal
145
145
try {
146
- await page . waitForXPath ( '//h1[contains(text(), "Updated")]' )
146
+ await page . waitForXPath ( '//h1[contains(text(), "Updated")]' , { timeout : 60000 } )
147
147
} catch ( e ) {
148
148
if ( process . env . APPVEYOR && e . message . match ( 'timeout' ) ) {
149
149
// AppVeyor VM is so slow that there's a large chance this test cases will time out,
0 commit comments