Skip to content

Commit

Permalink
Ignore regexp tests from test262 (#10458)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Sep 17, 2019
1 parent cb881e6 commit 0ef4972
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 454 deletions.
4 changes: 4 additions & 0 deletions scripts/tests/test262/run_babel_parser_test262_utils.js
Expand Up @@ -108,6 +108,8 @@ const ignoredFeatures = [
"well-formed-json-stringify",
];

const ignoredTests = ["built-ins/RegExp/", "language/literals/regexp/"];

const featuresToPlugins = {
BigInt: "bigInt",
"class-fields-private": "classPrivateProperties",
Expand Down Expand Up @@ -153,6 +155,8 @@ exports.getTests = function(testDir) {
// strip test/
const fileName = test.file.substr(5);

if (ignoredTests.some(start => fileName.startsWith(start))) return;

tests.push({
contents: test.contents,
fileName,
Expand Down

0 comments on commit 0ef4972

Please sign in to comment.