File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ describe('glob-stream', function() {
127
127
] , done ) ;
128
128
} ) ;
129
129
130
- // TODO: flaky globbing?
131
130
it ( 'finds files in paths that contain ( ) when they match the glob' , function ( done ) {
132
131
var expected = [
133
132
{
@@ -149,7 +148,9 @@ describe('glob-stream', function() {
149
148
150
149
function assert ( pathObjs ) {
151
150
expect ( pathObjs . length ) . toEqual ( 3 ) ;
152
- expect ( pathObjs ) . toEqual ( expected ) ;
151
+ expect ( pathObjs ) . toInclude ( expected [ 0 ] ) ;
152
+ expect ( pathObjs ) . toInclude ( expected [ 1 ] ) ;
153
+ expect ( pathObjs ) . toInclude ( expected [ 2 ] ) ;
153
154
}
154
155
155
156
pipe ( [
Original file line number Diff line number Diff line change @@ -104,7 +104,9 @@ describe('readable stream', function() {
104
104
105
105
function assert ( pathObjs ) {
106
106
expect ( pathObjs . length ) . toBe ( 3 ) ;
107
- expect ( pathObjs ) . toEqual ( expected ) ;
107
+ expect ( pathObjs ) . toInclude ( expected [ 0 ] ) ;
108
+ expect ( pathObjs ) . toInclude ( expected [ 1 ] ) ;
109
+ expect ( pathObjs ) . toInclude ( expected [ 2 ] ) ;
108
110
}
109
111
110
112
pipe ( [
You can’t perform that action at this time.
0 commit comments