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: update test262 #10943

Merged
merged 2 commits into from Dec 30, 2019
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions Makefile
@@ -1,5 +1,5 @@
FLOW_COMMIT = 09669846b7a7ca5a6c23c12d56bb3bebdafd67e9
TEST262_COMMIT = 8688c4ab79059c3097098605e69f1ee5eda6c409
TEST262_COMMIT = 157b18d16b5d52501c4d75ac422d3a80bfad1c17
TYPESCRIPT_COMMIT = 038d95144d8b93c2799d1732181c89c3d84362d5

FORCE_PUBLISH = "@babel/runtime,@babel/runtime-corejs2,@babel/runtime-corejs3,@babel/standalone,@babel/preset-env-standalone"
Expand Down Expand Up @@ -189,7 +189,7 @@ test-typescript-update-whitelist:
bootstrap-test262:
rm -rf build/test262
mkdir -p build
git clone --branch=master --single-branch --shallow-since=2019-09-01 https://github.com/tc39/test262.git build/test262
git clone --branch=master --single-branch --shallow-since=2019-12-01 https://github.com/tc39/test262.git build/test262
cd build/test262 && git checkout $(TEST262_COMMIT)

test-test262:
Expand Down
5 changes: 5 additions & 0 deletions scripts/parser-tests/test262/index.js
Expand Up @@ -3,6 +3,7 @@ const TestStream = require("test262-stream");
const TestRunner = require("../utils/parser-test-runner");

const ignoredFeatures = [
"AggregateError",
"Array.prototype.flat",
"Array.prototype.flatMap",
"Array.prototype.values",
Expand Down Expand Up @@ -31,6 +32,7 @@ const ignoredFeatures = [
"FinalizationGroup",
"Float32Array",
"Float64Array",
"for-in-order",
"for-of",
"generators",
"globalThis",
Expand All @@ -42,6 +44,7 @@ const ignoredFeatures = [
"Intl.DateTimeFormat-dayPeriod",
"Intl.DateTimeFormat-fractionalSecondDigits",
"Intl.DateTimeFormat-formatRange",
"Intl.DisplayNames",
"Intl.ListFormat",
"Intl.Locale",
"Intl.NumberFormat-unified",
Expand Down Expand Up @@ -76,6 +79,7 @@ const ignoredFeatures = [
"String.prototype.endsWith",
"String.prototype.includes",
"String.prototype.matchAll",
"String.prototype.replaceAll",
"String.prototype.trimEnd",
"String.prototype.trimStart",
"string-trimming",
Expand Down Expand Up @@ -118,6 +122,7 @@ const featuresToPlugins = {
"class-static-fields-public": "classProperties",
"class-static-fields-private": "classPrivateProperties",
"class-static-methods-private": "classPrivateMethods",
"coalesce-expression": "nullishCoalescingOperator",
"dynamic-import": "dynamicImport",
"export-star-as-namespace-from-module": "exportNamespaceFrom",
"import.meta": "importMeta",
Expand Down