mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 15:42:51 +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\\");
|
|
"
|
|
`);
|
|
});
|