From dce664988c9c504c8fbc28187bfdd540090c0d06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Wed, 20 May 2020 22:42:50 -0400 Subject: [PATCH] chore: update test262 --- Makefile | 2 +- scripts/parser-tests/test262/index.js | 1 + scripts/parser-tests/test262/whitelist.txt | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 69c97e5eff66..f76c2411cc0a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ FLOW_COMMIT = a1f9a4c709dcebb27a5084acf47755fbae699c25 -TEST262_COMMIT = 28b4fcca4b1b1d278dfe0cc0e69c7d9d59b31aab +TEST262_COMMIT = 058adfed86b1d4129996faaf50a85ea55379a66a TYPESCRIPT_COMMIT = 5fc917be2e4dd64c8e9504d36615cd7fbfdd4cd3 FORCE_PUBLISH = "@babel/runtime,@babel/runtime-corejs2,@babel/runtime-corejs3,@babel/standalone" diff --git a/scripts/parser-tests/test262/index.js b/scripts/parser-tests/test262/index.js index e2f8b08fcae0..fcef86a067eb 100644 --- a/scripts/parser-tests/test262/index.js +++ b/scripts/parser-tests/test262/index.js @@ -126,6 +126,7 @@ const featuresToPlugins = { "dynamic-import": "dynamicImport", "export-star-as-namespace-from-module": "exportNamespaceFrom", "import.meta": "importMeta", + "logical-assignment-operators": "logicalAssignment", "numeric-separator-literal": "numericSeparator", "optional-chaining": "optionalChaining", "top-level-await": "topLevelAwait", diff --git a/scripts/parser-tests/test262/whitelist.txt b/scripts/parser-tests/test262/whitelist.txt index 8b137891791f..75b75ef96b23 100644 --- a/scripts/parser-tests/test262/whitelist.txt +++ b/scripts/parser-tests/test262/whitelist.txt @@ -1 +1,4 @@ - +language/expressions/class/elements/grammar-private-field-optional-chaining.js(default) +language/expressions/class/elements/grammar-private-field-optional-chaining.js(strict mode) +language/statements/class/elements/grammar-private-field-optional-chaining.js(default) +language/statements/class/elements/grammar-private-field-optional-chaining.js(strict mode)