From c5cecde08e2c2abf5c705f2940be99f4b49b95ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Fri, 14 May 2021 15:07:13 -0400 Subject: [PATCH] chore: add class-static-block test262 mapping --- scripts/parser-tests/test262/index.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/parser-tests/test262/index.js b/scripts/parser-tests/test262/index.js index 0ea024a0f860..c4cd1edd5d18 100644 --- a/scripts/parser-tests/test262/index.js +++ b/scripts/parser-tests/test262/index.js @@ -16,6 +16,7 @@ const ignoredFeatures = [ "Array.prototype.values", "ArrayBuffer", "align-detached-buffer-semantics-with-web-reality", + "arbitrary-module-namespace-names", "async-functions", "async-iteration", "arrow-function", @@ -24,6 +25,12 @@ const ignoredFeatures = [ "BigInt", "caller", "class", + "class-fields-private", + "class-fields-public", + "class-methods-private", + "class-static-fields-private", + "class-static-fields-public", + "class-static-methods-private", "cleanupSome", "coalesce-expression", "computed-property-names", @@ -145,14 +152,8 @@ const ignoredFeatures = [ const ignoredTests = ["built-ins/RegExp/", "language/literals/regexp/"]; const featuresToPlugins = { - "arbitrary-module-namespace-names": "moduleStringNames", - "class-fields-private": "classPrivateProperties", "class-fields-private-in": "privateIn", - "class-fields-public": "classProperties", - "class-methods-private": "classPrivateMethods", - "class-static-fields-public": "classProperties", - "class-static-fields-private": "classPrivateProperties", - "class-static-methods-private": "classPrivateMethods", + "class-static-block": "classStaticBlock", "top-level-await": "topLevelAwait", };