mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 21:54:36 +03:00
chore(ci): Remove redudant plugin test
This commit is contained in:
parent
c34f1a977f
commit
e19fe7d33b
@ -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`");
|
||||
})
|
Loading…
Reference in New Issue
Block a user