We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6452008 commit f1182e7Copy full SHA for f1182e7
2 files changed
tests/misc/errors/js/__snapshots__/jsfmt.spec.js.snap
@@ -18,6 +18,14 @@ exports[`module-attributes.js error test 1`] = `
18
2 | "
19
`;
20
21
+exports[`module-string-name-import.js error test 1`] = `
22
+"Unexpected token (2:10)
23
+ 1 | // https://github.com/babel/babel/issues/12209
24
+> 2 | import { \\"foo\\" as foo } from \\"module-a\\";
25
+ | ^
26
+ 3 | "
27
+`;
28
+
29
exports[`no-for-in-init-concise-binary-in.js error test 1`] = `
30
"Unexpected token, expected \\")\\" (3:18)
31
1 | // https://github.com/babel/babel/pull/11931
tests/misc/errors/js/module-string-name-import.js
@@ -0,0 +1,2 @@
1
+// https://github.com/babel/babel/issues/12209
2
+import { "foo" as foo } from "module-a";
0 commit comments