fix test case

This commit is contained in:
Tobias Koppers 2019-12-07 01:35:46 +01:00
parent 3b4a7455df
commit 457055cbcc
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ it("should watch for changes", function() {
expect(require("./foo/" + WATCH_STEP)).toBe('This should be working.' + WATCH_STEP);
}
expect(STATS_JSON.modules.length).toBe(7 + Number(WATCH_STEP));
expect(STATS_JSON.modules.filter(m => !m.runtime).length).toBe(4 + Number(WATCH_STEP));
});