File tree 3 files changed +3
-9
lines changed
3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,3 @@ before_install:
8
8
- ' npm install -g npm@latest'
9
9
after_success :
10
10
- ' [ -z "$COVERALLS_REPO_TOKEN" ] && tap --coverage-report=text-lcov | ./node_modules/.bin/coveralls'
11
- matrix :
12
- allow_failures :
13
- - node_js : ' 0.10'
Original file line number Diff line number Diff line change 134
134
"cli-table2" : " ^0.1.9" ,
135
135
"coveralls" : " ^2.11.4" ,
136
136
"delay" : " ^1.3.0" ,
137
- "get-stream" : " ^1.1 .0" ,
137
+ "get-stream" : " ^2.0 .0" ,
138
138
"git-branch" : " ^0.3.0" ,
139
139
"inquirer" : " ^0.11.1" ,
140
140
"lolex" : " ^1.4.0" ,
Original file line number Diff line number Diff line change @@ -141,12 +141,9 @@ test('watcher works', function (t) {
141
141
142
142
var buffer = '' ;
143
143
var passedFirst = false ;
144
- // Pause the stream before attaching the 'data' listener. execCli() uses
145
- // get-stream which read()s from the stream. The test just needs to piggyback
146
- // on that without switching the stream to flowing mode.
147
- child . stderr . pause ( ) . on ( 'data' , function ( str ) {
144
+ child . stderr . on ( 'data' , function ( str ) {
148
145
buffer += str ;
149
- if ( / 1 t e s t p a s s e d / . test ( str ) ) {
146
+ if ( / 1 t e s t p a s s e d / . test ( buffer ) ) {
150
147
if ( ! passedFirst ) {
151
148
touch . sync ( path . join ( __dirname , 'fixture/watcher/test.js' ) ) ;
152
149
buffer = '' ;
You can’t perform that action at this time.
0 commit comments