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