@@ -17,14 +17,15 @@ describe('config: flags.gulpfile', function() {
17
17
. run ( cb ) ;
18
18
19
19
function cb ( err , stdout , stderr ) {
20
+ expect ( err ) . toEqual ( null ) ;
21
+ expect ( stderr ) . toEqual ( '' ) ;
20
22
stdout = headLines ( stdout , 2 , 2 ) ;
21
23
expect ( stdout ) . toEqual (
22
24
'This gulpfile : ' +
23
25
path . join ( fixturesDir , 'flags/gulpfile/is/here/mygulpfile.js' ) +
24
26
'\n' +
25
27
'The current directory : ' + path . join ( fixturesDir , 'flags/gulpfile' )
26
28
) ;
27
- expect ( stderr ) . toEqual ( '' ) ;
28
29
done ( err ) ;
29
30
}
30
31
} ) ;
@@ -36,14 +37,15 @@ describe('config: flags.gulpfile', function() {
36
37
. run ( cb ) ;
37
38
38
39
function cb ( err , stdout , stderr ) {
40
+ expect ( err ) . toEqual ( null ) ;
41
+ expect ( stderr ) . toEqual ( '' ) ;
39
42
stdout = headLines ( stdout , 2 , 3 ) ;
40
43
expect ( stdout ) . toEqual (
41
44
'This gulpfile : ' +
42
45
path . join ( fixturesDir , 'flags/gulpfile/is/here/mygulpfile.js' ) +
43
46
'\n' +
44
47
'The current directory : ' + path . join ( fixturesDir , 'flags/gulpfile' )
45
48
) ;
46
- expect ( stderr ) . toEqual ( '' ) ;
47
49
done ( err ) ;
48
50
}
49
51
} ) ;
@@ -56,12 +58,13 @@ describe('config: flags.gulpfile', function() {
56
58
. run ( cb ) ;
57
59
58
60
function cb ( err , stdout , stderr ) {
61
+ expect ( err ) . toEqual ( null ) ;
62
+ expect ( stderr ) . toEqual ( '' ) ;
59
63
stdout = headLines ( stdout , 1 , 3 ) ;
60
64
expect ( stdout ) . toEqual (
61
65
'Another gulpfile : ' +
62
66
path . join ( fixturesDir , 'flags/gulpfile/cwd/gulpfile.js' )
63
67
) ;
64
- expect ( stderr ) . toEqual ( '' ) ;
65
68
done ( err ) ;
66
69
}
67
70
} ) ;
@@ -74,12 +77,13 @@ describe('config: flags.gulpfile', function() {
74
77
. run ( cb ) ;
75
78
76
79
function cb ( err , stdout , stderr ) {
80
+ expect ( err ) . toEqual ( null ) ;
81
+ expect ( stderr ) . toEqual ( '' ) ;
77
82
stdout = headLines ( stdout , 1 , 3 ) ;
78
83
expect ( stdout ) . toEqual (
79
84
'Another gulpfile : ' +
80
85
path . join ( fixturesDir , 'flags/gulpfile/cwd/gulpfile.js' )
81
86
) ;
82
- expect ( stderr ) . toEqual ( '' ) ;
83
87
done ( err ) ;
84
88
}
85
89
} ) ;
0 commit comments