File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ export default function() {
17
17
return silentExecAndWaitForOutputToMatch ( 'ng' , [ 'serve' ] , webpackGoodRegEx )
18
18
// Should trigger a rebuild.
19
19
. then ( ( ) => exec ( 'touch' , 'src/main.ts' ) )
20
- . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackBadRegEx , 5000 ) )
21
- . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackGoodRegEx , 5000 ) )
20
+ . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackBadRegEx , 10000 ) )
21
+ . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackGoodRegEx , 10000 ) )
22
22
. then ( ( ) => appendToFile ( 'src/app/app.component.css' , ':host { color: blue; }' ) )
23
- . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackBadRegEx , 5000 ) )
24
- . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackGoodRegEx , 5000 ) )
23
+ . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackBadRegEx , 10000 ) )
24
+ . then ( ( ) => waitForAnyProcessOutputToMatch ( webpackGoodRegEx , 10000 ) )
25
25
. then ( ( ) => killAllProcesses ( ) , ( err : any ) => {
26
26
killAllProcesses ( ) ;
27
27
throw err ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export default function() {
34
34
console.log(funky('town'));
35
35
` ) )
36
36
// Should trigger a rebuild, no error expected.
37
- . then ( ( ) => waitForAnyProcessOutputToMatch ( doneRe , 5000 ) )
37
+ . then ( ( ) => waitForAnyProcessOutputToMatch ( doneRe , 10000 ) )
38
38
// Create and import files.
39
39
. then ( ( ) => wait ( 2000 ) )
40
40
. then ( ( ) => writeFile ( 'src/funky2.ts' , `
@@ -43,7 +43,7 @@ export default function() {
43
43
}
44
44
` ) )
45
45
// Should trigger a rebuild, this time an error is expected.
46
- . then ( ( ) => waitForAnyProcessOutputToMatch ( doneRe , 5000 ) )
46
+ . then ( ( ) => waitForAnyProcessOutputToMatch ( doneRe , 10000 ) )
47
47
. then ( ( { stdout } ) => {
48
48
if ( ! / E R R O R i n .* \/ s r c \/ m a i n \. t s \( / . test ( stdout ) ) {
49
49
throw new Error ( 'Expected an error but none happened.' ) ;
@@ -55,7 +55,7 @@ export default function() {
55
55
return value + 'hello';
56
56
}
57
57
` ) )
58
- . then ( ( ) => waitForAnyProcessOutputToMatch ( doneRe , 5000 ) )
58
+ . then ( ( ) => waitForAnyProcessOutputToMatch ( doneRe , 10000 ) )
59
59
. then ( ( { stdout } ) => {
60
60
if ( / E R R O R i n .* \/ s r c \/ m a i n \. t s \( / . test ( stdout ) ) {
61
61
throw new Error ( 'Expected no error but an error was shown.' ) ;
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ export default function() {
22
22
// Should trigger a rebuild.
23
23
. then ( ( ) => exec ( 'touch' , 'src/main.ts' ) )
24
24
. then ( ( ) => waitForAnyProcessOutputToMatch (
25
- / w e b p a c k : b u n d l e i s n o w I N V A L I D | w e b p a c k : C o m p i l i n g .../ , 5000 ) )
25
+ / w e b p a c k : b u n d l e i s n o w I N V A L I D | w e b p a c k : C o m p i l i n g .../ , 10000 ) )
26
26
. then ( ( ) => waitForAnyProcessOutputToMatch (
27
- / w e b p a c k : b u n d l e i s n o w V A L I D | w e b p a c k : C o m p i l e d s u c c e s s f u l l y ./ , 5000 ) )
27
+ / w e b p a c k : b u n d l e i s n o w V A L I D | w e b p a c k : C o m p i l e d s u c c e s s f u l l y ./ , 10000 ) )
28
28
// Count the bundles.
29
29
. then ( ( { stdout } ) => {
30
30
oldNumberOfChunks = stdout . split ( chunkRegExp ) . length ;
@@ -61,9 +61,9 @@ export default function() {
61
61
` ) )
62
62
// Should trigger a rebuild with a new bundle.
63
63
. then ( ( ) => waitForAnyProcessOutputToMatch (
64
- / w e b p a c k : b u n d l e i s n o w I N V A L I D | w e b p a c k : C o m p i l i n g .../ , 5000 ) )
64
+ / w e b p a c k : b u n d l e i s n o w I N V A L I D | w e b p a c k : C o m p i l i n g .../ , 10000 ) )
65
65
. then ( ( ) => waitForAnyProcessOutputToMatch (
66
- / w e b p a c k : b u n d l e i s n o w V A L I D | w e b p a c k : C o m p i l e d s u c c e s s f u l l y ./ , 5000 ) )
66
+ / w e b p a c k : b u n d l e i s n o w V A L I D | w e b p a c k : C o m p i l e d s u c c e s s f u l l y ./ , 10000 ) )
67
67
// Count the bundles.
68
68
. then ( ( { stdout } ) => {
69
69
let newNumberOfChunks = stdout . split ( chunkRegExp ) . length ;
You can’t perform that action at this time.
0 commit comments