From ac27afde97a37eae1aa4701b96e080fb070a5920 Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Fri, 18 Nov 2022 05:01:47 +0300 Subject: [PATCH] test: update --- node-swc/__tests__/minify_test.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)})();" `); }); });