We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32dd907 commit 6cccb21Copy full SHA for 6cccb21
test/transformers/babel.test.ts
@@ -27,11 +27,11 @@ describe('transformer - babel', () => {
27
});
28
const preprocessed = await preprocess(template, opts);
29
expect(preprocessed.code).toMatchInlineSnapshot(`
30
- "<script>var _ref;
+ "<script>var _foo$b;
31
32
var foo = {};
33
34
- $: bar = (_ref = foo == null ? void 0 : foo.b) != null ? _ref : 120;</script>"
+ $: bar = (_foo$b = foo == null ? void 0 : foo.b) != null ? _foo$b : 120;</script>"
35
`);
36
37
0 commit comments