Skip to content

Commit

Permalink
test: normalize
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 11, 2023
1 parent ad8fa4d commit d9d4678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/StatsTestCases.basictest.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ describe("StatsTestCases", () => {
.replace(/webpack [^ )]+(\)?) compiled/g, "webpack x.x.x$1 compiled")
.replace(new RegExp(quoteMeta(testPath), "g"), "Xdir/" + testName)
.replace(/(\w)\\(\w)/g, "$1/$2")
.replace(/, additional resolving: X ms/g, "");
.replace(/, additional resolving: X ms/g, "")
.replace(/Unexpected identifier '.+?'/g, "Unexpected identifier");
expect(actual).toMatchSnapshot();
if (testConfig.validate) testConfig.validate(stats, stderr.toString());
done();
Expand Down

0 comments on commit d9d4678

Please sign in to comment.