Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Nov 18, 2022
1 parent d9e8772 commit ac27afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-swc/__tests__/minify_test.mjs
Expand Up @@ -213,7 +213,7 @@ describe("should remove comments", () => {
expect(code).toMatchInlineSnapshot(`
"(function(){/**
* @license
*/const o=Math.random()+\\"_\\"+Math.random();console.log(o)})();"
*/ const o=Math.random()+\\"_\\"+Math.random();console.log(o)})();"
`);
});
it("should remove comment near to license", async () => {
Expand Down Expand Up @@ -241,7 +241,7 @@ describe("should remove comments", () => {
expect(code).toMatchInlineSnapshot(`
"(function(){/**
* @license
*/const o=Math.random()+\\"_\\"+Math.random();console.log(o)})();"
*/ const o=Math.random()+\\"_\\"+Math.random();console.log(o)})();"
`);
});
});

0 comments on commit ac27afd

Please sign in to comment.