mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
The problem here we face here is that TypeScript does not consider Annex B.3.2, which makes implementation a bit more difficult. This implementation conforms to test262. |
||
|---|---|---|
| .. | ||
| babel@6925ac555c | ||
| src | ||
| test262@9704d7f22f | ||
| typescript@b8c71685f9 | ||
| babel.snap | ||
| Cargo.toml | ||
| printer.snap | ||
| README.md | ||
| test262.snap | ||
| typescript.snap | ||
Coverage
The parser is tested against test262, babel and TypeScript for conformance.
Note: tests against regexp are disabled for now.
Clone the test files beforehand:
git submodule update
For maintainers, update to the latest remote, run:
git submodule update --remote
Development
# full run
cargo coverage
cargo coverage js # for test262
cargo coverage babel # for babel
cargo coverage ts # for typescript
# run in watch
cargo watch -x 'coverage js'
# filter for a file path
cargo watch -x 'coverage js --filter filter-file-path'