Files
1ed15cfb08 feat(es/typescript): Add swc_fast_ts_strip (#9143)
**Description:**

This PR also adds a CI process for each Wasm binding.

---------

Co-authored-by: magic-akari <[email protected]>
2024-07-05 21:07:24 +09:00

16 lines
297 B
JavaScript

const swc = require("../pkg");
describe("minify", () => {
it("should work", async () => {
const output = await swc.minify(
`{
const a = 1;
console.log(a);
}`,
{}
);
expect(output).toMatchSnapshot();
});
});