@@ -25,7 +25,7 @@ describe('Runner', () => {
25
25
this . runner . run ( this . command , [ './spec/fixtures/outputTest.js' ] , { } ) ;
26
26
} ) ;
27
27
28
- waitsFor ( ( ) => this . output !== null , 'File should execute' , 500 ) ;
28
+ waitsFor ( ( ) => this . output !== null , 'File should execute' , 2000 ) ;
29
29
30
30
runs ( ( ) => expect ( this . output ) . toEqual ( { message : 'hello\n' } ) ) ;
31
31
} ) ;
@@ -39,7 +39,7 @@ describe('Runner', () => {
39
39
this . runner . run ( this . command , [ './spec/fixtures/ioTest.js' ] , { } , 'hello' ) ;
40
40
} ) ;
41
41
42
- waitsFor ( ( ) => this . output !== null , 'File should execute' , 500 ) ;
42
+ waitsFor ( ( ) => this . output !== null , 'File should execute' , 2000 ) ;
43
43
44
44
runs ( ( ) => expect ( this . output ) . toEqual ( { message : 'TEST: hello\n' } ) ) ;
45
45
} ) ;
@@ -53,7 +53,7 @@ describe('Runner', () => {
53
53
this . runner . run ( this . command , [ './spec/fixtures/outputTest.js' ] , { } ) ;
54
54
} ) ;
55
55
56
- waitsFor ( ( ) => this . exited , 'Should receive exit callback' , 500 ) ;
56
+ waitsFor ( ( ) => this . exited , 'Should receive exit callback' , 2000 ) ;
57
57
} ) ;
58
58
59
59
it ( 'notifies about writing to stderr' , ( ) => {
@@ -65,7 +65,7 @@ describe('Runner', () => {
65
65
this . runner . run ( this . command , [ './spec/fixtures/throw.js' ] , { } ) ;
66
66
} ) ;
67
67
68
- waitsFor ( ( ) => this . failedEvent , 'Should receive failure callback' , 500 ) ;
68
+ waitsFor ( ( ) => this . failedEvent , 'Should receive failure callback' , 2000 ) ;
69
69
70
70
runs ( ( ) => expect ( this . failedEvent . message ) . toMatch ( / k a b o o m / ) ) ;
71
71
} ) ;
@@ -79,7 +79,7 @@ describe('Runner', () => {
79
79
this . runner . run ( this . command , [ './spec/fixtures/stdinEndTest.js' ] , { } , 'unused input' ) ;
80
80
} ) ;
81
81
82
- waitsFor ( ( ) => this . output !== null , 'File should execute' , 500 ) ;
82
+ waitsFor ( ( ) => this . output !== null , 'File should execute' , 2000 ) ;
83
83
84
84
runs ( ( ) => expect ( this . output ) . toEqual ( { message : 'stdin terminated\n' } ) ) ;
85
85
} ) ;
0 commit comments