Skip to content

Commit

Permalink
Skip event count assertion on fs.watch (any OS)
Browse files Browse the repository at this point in the history
  • Loading branch information
es128 committed Feb 18, 2015
1 parent af451d2 commit a1dc8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ function runTests(options) {
spy.should.have.been.calledWith('change', addPath);
spy.should.not.have.been.calledWith('add', getFixturePath('subdir/dir/ignored.txt'));
spy.should.not.have.been.calledWith('change', getFixturePath('subdir/dir/ignored.txt'));
if (!osXFsWatch) spy.callCount.should.equal(8);
if (options.usePolling || options.useFsEvents) spy.callCount.should.equal(8);
done();
});
}));
Expand Down

0 comments on commit a1dc8ae

Please sign in to comment.