Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add class-static-block test262 mapping #13313

Merged
merged 1 commit into from May 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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