Skip to content

Commit

Permalink
chore: add class-static-block test262 mapping (#13313)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed May 14, 2021
1 parent c1c8d5e commit 3195883
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions scripts/parser-tests/test262/index.js
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
};

Expand Down

0 comments on commit 3195883

Please sign in to comment.