Lines Matching refs:code
38 const { code } = babel.transform(sourceCode, options);
39 expect(code).toMatchSnapshot();
40 expect(code).not.toMatch(`@expo/html-elements`);
48 const { code } = babel.transform(sourceCode, {
55 expect(code).toMatch(`_jsx("html", { children: _jsx("body", { children: "Test" }) });`);
56 const { code: nativeCode } = babel.transform(sourceCode, options);
65 const { code } = babel.transform(sourceCode, {
69 expect(code).not.toMatch(`import { A } from "@expo/html-elements";`);
77 const { code } = babel.transform(sourceCode, options);
78 expect(code).toMatchSnapshot();
79 expect(code).toMatch(`import { A } from "@expo/html-elements";`);
88 const { code } = babel.transform(sourceCode, options);
89 expect(code).toMatchSnapshot();
94 const { code } = babel.transform(sourceCode, options);
95 expect(code).toMatchSnapshot();