1- jest . setTimeout ( 60000 )
1+ jest . setTimeout ( 80000 )
22
33const path = require ( 'path' )
44const fs = require ( 'fs-extra' )
@@ -20,7 +20,7 @@ test('serve', async () => {
2020 project . write ( `src/App.vue` , file . replace ( msg , `Updated` ) )
2121 await nextUpdate ( ) // wait for child stdout update signal
2222 try {
23- await page . waitForXPath ( '//h1[contains(text(), "Updated")]' )
23+ await page . waitForXPath ( '//h1[contains(text(), "Updated")]' , { timeout : 60000 } )
2424 } catch ( e ) {
2525 if ( process . env . APPVEYOR && e . message . match ( 'timeout' ) ) {
2626 // 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 () => {
113113 project . write ( `src/App.vue` , file . replace ( msg , `Updated` ) )
114114 await nextUpdate ( ) // wait for child stdout update signal
115115 try {
116- await page . waitForXPath ( '//h1[contains(text(), "Updated")]' )
116+ await page . waitForXPath ( '//h1[contains(text(), "Updated")]' , { timeout : 60000 } )
117117 } catch ( e ) {
118118 if ( process . env . APPVEYOR && e . message . match ( 'timeout' ) ) {
119119 // 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 () => {
143143 project . write ( `src/App.vue` , file . replace ( msg , `Updated` ) )
144144 await nextUpdate ( ) // wait for child stdout update signal
145145 try {
146- await page . waitForXPath ( '//h1[contains(text(), "Updated")]' )
146+ await page . waitForXPath ( '//h1[contains(text(), "Updated")]' , { timeout : 60000 } )
147147 } catch ( e ) {
148148 if ( process . env . APPVEYOR && e . message . match ( 'timeout' ) ) {
149149 // AppVeyor VM is so slow that there's a large chance this test cases will time out,
0 commit comments