mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +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\\");
|
||
|
"
|
||
|
`);
|
||
|
});
|