From e19fe7d33b2a18c1b068c2f808f3ea72f1ccff15 Mon Sep 17 00:00:00 2001 From: Donny Date: Thu, 6 Jan 2022 18:01:08 +0900 Subject: [PATCH] chore(ci): Remove redudant plugin test --- node-swc/__tests__/v2_plugin.mjs | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 node-swc/__tests__/v2_plugin.mjs diff --git a/node-swc/__tests__/v2_plugin.mjs b/node-swc/__tests__/v2_plugin.mjs deleted file mode 100644 index 2db9d7f8723..00000000000 --- a/node-swc/__tests__/v2_plugin.mjs +++ /dev/null @@ -1,27 +0,0 @@ -import swc from '../..'; - -// it("should resolve", async () => { -// const { code } = await swc.transform(`console.log("Should be removed")`, { -// jsc: { -// experimental: { -// plugins: [ -// ['internal-test', {}] -// ] -// } -// } -// }); - -// expect(code).toMatch(``) -// }) - -it("should error if it's not resolved", async () => { - await expect(swc.transform(`console.log("Should be removed")`, { - jsc: { - experimental: { - plugins: [ - ['unknown', {}] - ] - } - } - })).rejects.toThrow("failed to resolve plugin `unknown`"); -}) \ No newline at end of file