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 b1558d1 commit 6452008Copy full SHA for 6452008
2 files changed
tests/misc/errors/js/__snapshots__/jsfmt.spec.js.snap
@@ -11,6 +11,13 @@ exports[`html-like-comments.js error test 1`] = `
11
6 | "
12
`;
13
14
+exports[`module-attributes.js error test 1`] = `
15
+"Unexpected token, expected \\";\\" (1:28)
16
+> 1 | import foo from \\"foo.json\\" with type: \\"json\\";
17
+ | ^
18
+ 2 | "
19
+`;
20
+
21
exports[`no-for-in-init-concise-binary-in.js error test 1`] = `
22
"Unexpected token, expected \\")\\" (3:18)
23
1 | // https://github.com/babel/babel/pull/11931
tests/misc/errors/js/module-attributes.js
@@ -0,0 +1 @@
1
+import foo from "foo.json" with type: "json";
0 commit comments