Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 9, 2020
1 parent bd5dc36 commit 92d57e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/babel-standalone/test/babel.js
Expand Up @@ -196,5 +196,13 @@
}`);
});
});

describe("regressions", () => {
it("#11534 - supports quantifiers in unicode regexps", () => {
expect(() =>
Babel.transform("/a*/u", { presets: ["es2015"] }),
).not.toThrow();
});
});
},
);

0 comments on commit 92d57e0

Please sign in to comment.