diff --git a/node-swc/__tests__/minify_test.mjs b/node-swc/__tests__/minify_test.mjs index f090a2d55455..bfd50dcd1331 100644 --- a/node-swc/__tests__/minify_test.mjs +++ b/node-swc/__tests__/minify_test.mjs @@ -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 () => { @@ -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)})();" `); }); });