Skip to content

Commit 7d2c3a4

Browse files
committed
feat(test): Migrate from test262-parser-tests to full test262 suite
1 parent 4457f89 commit 7d2c3a4

File tree

13 files changed

+16078
-0
lines changed

13 files changed

+16078
-0
lines changed

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@
1111
[submodule "crates/swc_ecma_transforms_proposal/tests/decorator-tests"]
1212
path = crates/swc_ecma_transforms_proposal/tests/decorator-tests
1313
url = https://github.com/evanw/decorator-tests
14+
[submodule "test262"]
15+
path = test262
16+
url = https://github.com/tc39/test262.git
17+
shallow = true
18+
ignore = dirty
19+
branch = main

Cargo.lock

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

crates/swc_ecma_parser/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ swc_ecma_ast = { version = "18.0.0", path = "../swc_ecma_ast", features = [
6060
] }
6161
swc_ecma_visit = { version = "18.0.1", path = "../swc_ecma_visit" }
6262
swc_malloc = { version = "1.2.4", path = "../swc_malloc" }
63+
swc_test262 = { version = "0.1.0", path = "../swc_test262" }
6364
testing = { version = "18.0.0", path = "../testing" }
6465

6566
[[example]]

0 commit comments

Comments
 (0)