mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
3a372ad29a
The commit will help - Better testing - Preventing regression like #785. - **Implementing spack** (It requires access to neon api because of the plugin system)
8 lines
168 B
JavaScript
8 lines
168 B
JavaScript
const swc = require("../../");
|
|
|
|
it("should work", () => {
|
|
expect(() => {
|
|
swc.transformFileSync(__dirname + "/../tests/error/simple.js");
|
|
}).toThrow("jsc");
|
|
});
|