Skip to content

Commit

Permalink
test: fix failing test when required
Browse files Browse the repository at this point in the history
I suspect, though not 100% sure, that this test fails because it was
being required and when so, chokidar is already watching and thus fires
before the config is loaded.
  • Loading branch information
remy committed Apr 8, 2020
1 parent a4490e2 commit 33ae6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function reset() {
rules.reset();

config.dirs = [];
config.options = { ignore: [], watch: [] };
config.options = { ignore: [], watch: [], monitor: [] };
config.lastStarted = 0;
config.loaded = [];
}
Expand Down

0 comments on commit 33ae6da

Please sign in to comment.