Skip to content

Commit abc2538

Browse files
committed
fix failing test
Not caught earlier probably because #730 wasn't rebased.
1 parent 95a5c97 commit abc2538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/watcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ group('chokidar is installed', function (beforeEach, test, group) {
10211021
// also be ignoring this file but hey).
10221022
change(path.join('..', 'outside.js'));
10231023

1024-
api.run.returns(Promise.resolve());
1024+
api.run.returns(Promise.resolve({failCount: 0}));
10251025
return debounce().then(function () {
10261026
t.ok(api.run.calledTwice);
10271027
// If ../outside.js was tracked as a dependency of test/1.js this would

0 commit comments

Comments
 (0)