Skip to content

Commit

Permalink
Test in
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Sep 1, 2020
1 parent b6f16b3 commit 854678a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/misc/errors/js/__snapshots__/jsfmt.spec.js.snap
Expand Up @@ -18,6 +18,15 @@ exports[`module-attributes.js error test 1`] = `
2 | "
`;

exports[`no-for-in-init-concise-binary-in.js error test 1`] = `
"Unexpected token, expected \\")\\" (3:18)
1 | // https://github.com/babel/babel/pull/11931
2 |
> 3 | for (() => x in y;;);
| ^
4 | "
`;

exports[`partial-template-strings.js error test 1`] = `
"Unexpected token (6:42)
4 |
Expand Down
3 changes: 3 additions & 0 deletions tests/misc/errors/js/no-for-in-init-concise-binary-in.js
@@ -0,0 +1,3 @@
// https://github.com/babel/babel/pull/11931

for (() => x in y;;);

0 comments on commit 854678a

Please sign in to comment.