update test cases for updated terser version

This commit is contained in:
Tobias Koppers 2020-01-29 10:33:44 +01:00
parent 3a87ea05e8
commit c7c235b2b2
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ it("should extract comments to separate file", function() {
const path = require("path");
const source = fs.readFileSync(
path.join(__dirname, "extract.js.LICENSE"),
path.join(__dirname, "extract.js.LICENSE.txt"),
"utf-8"
);
@ -45,7 +45,7 @@ it("should remove extracted comments and insert a banner", function() {
expect(source).not.toMatch("comment should be extracted extract-test.3");
expect(source).not.toMatch("comment should be stripped extract-test.4");
expect(source).toMatch(
"/*! For license information please see extract.js.LICENSE */"
"/*! For license information please see extract.js.LICENSE.txt */"
);
});