fix test case

This commit is contained in:
Tobias Koppers 2019-11-04 11:40:36 +01:00
parent d8c93b40be
commit 019e35bf26
2 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,9 @@ describe("Compiler (caching)", () => {
logs.writeFile.push(name, content);
files[name] = content.toString("utf-8");
callback();
},
stat(path, callback) {
callback(new Error("ENOENT"));
}
};
c.hooks.compilation.tap(

View File

@ -39,6 +39,9 @@ describe("Compiler", () => {
logs.writeFile.push(name, content);
files[name] = content.toString("utf-8");
callback();
},
stat(path, callback) {
callback(new Error("ENOENT"));
}
};
c.hooks.compilation.tap(