fix test case

This commit is contained in:
Tobias Koppers 2020-11-28 18:27:44 +01:00
parent c9fbdb9e48
commit a0d72e6e8c
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ describe("HotModuleReplacementPlugin", () => {
fs.writeFileSync(statsFile3, stats.toString());
const result = JSON.parse(
fs.readFileSync(
path.join(outputPath, `${hash}.hot-update.json`),
path.join(outputPath, `0.${hash}.hot-update.json`),
"utf-8"
)
)["c"];