Skip to content

Commit bdce76a

Browse files
committed
fix failing watcher test
1 parent 1784509 commit bdce76a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/watcher.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ group('chokidar is installed', function (beforeEach, test, group) {
447447
t.plan(2);
448448

449449
files = ['foo-{bar,baz}.js'];
450+
// TODO(@jamestalmage, @novemberborn): There is no way for users to actually set exclude patterns yet.
450451
avaFiles.defaultExcludePatterns.returns(['!*bar*']);
451452
api.run.returns(Promise.resolve());
452453
start();
@@ -518,7 +519,8 @@ group('chokidar is installed', function (beforeEach, test, group) {
518519
t.plan(2);
519520

520521
files = ['dir'];
521-
api.excludePatterns = ['!**/exclude/**'];
522+
// TODO(@jamestalmage, @novemberborn): There is no way for users to actually set exclude patterns yet.
523+
avaFiles.defaultExcludePatterns.returns(['!**/exclude/**']);
522524
api.run.returns(Promise.resolve());
523525
start();
524526

0 commit comments

Comments
 (0)