mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 07:02:28 +03:00
10 lines
248 B
JavaScript
10 lines
248 B
JavaScript
import swc from "../../..";
|
|
|
|
it("should transpile decorators", async () => {
|
|
const source = "`${100}testing`";
|
|
expect(swc.transformSync(source).code).toMatchInlineSnapshot(`
|
|
"\\"\\".concat(100, \\"testing\\");
|
|
"
|
|
`);
|
|
});
|