Enable optionalCatchBinding plugin for test262 tests (#697)
This commit is contained in:
@@ -6,7 +6,7 @@ const utils = require("./run_test262_utils");
|
||||
|
||||
const testDir = path.join(__dirname, "..", "build", "test262", "test");
|
||||
const whitelistFile = path.join(__dirname, "test262_whitelist.txt");
|
||||
const plugins = ["asyncGenerators", "objectRestSpread"];
|
||||
const plugins = ["asyncGenerators", "objectRestSpread", "optionalCatchBinding"];
|
||||
const shouldUpdate = process.argv.indexOf("--update-whitelist") > -1;
|
||||
|
||||
Promise.all([utils.getTests(testDir), utils.getWhitelist(whitelistFile)])
|
||||
|
||||
Reference in New Issue
Block a user