Skip to content

Commit fec7c60

Browse files
committed
chore: update test262 suite
commit hash was outdated
1 parent 847d787 commit fec7c60

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

__test__/run_test262.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,17 @@ import { tsPlugin } from '../index.js';
88

99
const parser = acorn.Parser.extend(tsPlugin());
1010
const UNSUPPORTED_FEATURES = [
11+
// TODO regularly check those; they might become stage 4 at some point and then Acorn core should support them
1112
'regexp-v-flag',
1213
'regexp-duplicate-named-groups',
1314
'import-assertions',
1415
'decorators',
1516
'json-modules',
16-
'import-attributes'
17+
'import-attributes',
18+
'import-defer',
19+
'source-phase-imports',
20+
'source-phase-imports-module-source',
21+
'explicit-resource-management'
1722
];
1823

1924
const SKIP_FILES = [
@@ -54,7 +59,13 @@ const WHITELIST = [
5459
'language/expressions/dynamic-import/syntax/invalid/nested-if-braceless-not-extensible-args.js',
5560
'language/expressions/dynamic-import/syntax/invalid/nested-if-not-extensible-args.js',
5661
'language/expressions/dynamic-import/syntax/invalid/nested-while-not-extensible-args.js',
57-
'language/expressions/dynamic-import/syntax/invalid/top-level-not-extensible-args.js'
62+
'language/expressions/dynamic-import/syntax/invalid/top-level-not-extensible-args.js',
63+
// various stuff
64+
'staging/sm/fields/await-identifier-module-3.js',
65+
'staging/sm/module/duplicate-exported-names-in-single-export-declaration.js',
66+
'staging/sm/module/duplicate-exported-names-in-single-export-var-declaration.js',
67+
'staging/sm/module/module-export-name-star.js',
68+
'staging/sm/String/make-normalize-generateddata-input.py' // python??
5869
].flatMap((s) => [s + ' (default)', s + ' (strict mode)']);
5970

6071
WHITELIST.push(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"acorn-jsx": "~5.3.2",
4242
"esbuild": "^0.25.0",
4343
"prettier": "~3.5.2",
44-
"test262": "git+https://github.com/tc39/test262.git#dac69563480b9f22709fd49d61a32b3a0513b6b1",
44+
"test262": "git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345",
4545
"test262-parser-runner": "^0.5.0",
4646
"typescript": "^5.7.3",
4747
"vitest": "^3.0.7"

pnpm-lock.yaml

Lines changed: 2 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)