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