Skip to content

Commit 51f5b55

Browse files
committed
update test/watcher.js to reflect new AvaFiles Api
1 parent f062849 commit 51f5b55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/watcher.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ group('chokidar is installed', function (beforeEach, test, group) {
553553
test('initial exclude patterns override whether something is a test file', function (t) {
554554
t.plan(2);
555555

556-
avaFiles = function (files, sources) {
557-
var ret = new AvaFiles(files, sources);
556+
avaFiles = function (options) {
557+
var ret = new AvaFiles(options);
558558
// Note: There is no way for users to actually set exclude patterns yet.
559559
// This test just validates that internal updates to the default excludes pattern will be obeyed.
560560
ret.excludePatterns = ['!*bar*'];
@@ -632,8 +632,8 @@ group('chokidar is installed', function (beforeEach, test, group) {
632632
test('exclude patterns override directory matches', function (t) {
633633
t.plan(2);
634634

635-
avaFiles = function (files, sources) {
636-
var ret = new AvaFiles(files, sources);
635+
avaFiles = function (options) {
636+
var ret = new AvaFiles(options);
637637
// Note: There is no way for users to actually set exclude patterns yet.
638638
// This test just validates that internal updates to the default excludes pattern will be obeyed.
639639
ret.excludePatterns = ['!**/exclude/**'];

0 commit comments

Comments
 (0)