We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 247c4d8 commit 4c1fcc4Copy full SHA for 4c1fcc4
test/cli/watcher.spec.ts
@@ -35,11 +35,11 @@ describe("watches files", () => {
35
setTimeout(() => {
36
expect(count).toBe(1);
37
w.watchers[0].emit("change", "rename", base);
38
+ setTimeout(() => {
39
+ expect(count).toBe(2);
40
+ w.close().then(done);
41
+ }, Watcher.interval * 0.5);
42
}, Watcher.interval * 1.5);
- setTimeout(() => {
- expect(count).toBe(2);
- w.close().then(done);
- }, Watcher.interval * 2);
43
});
44
45
it("closes after an error", done => {
0 commit comments