Files
overlookmotel c966acaac5 fix(parser): do not omit < token opening type argument list (#26328)
Fix tokens produced when `<<` opens a type argument list. e.g.:

```typescript
type Bar = ReturnType<<T>(x: T) => number>;
```

Previously only 1 `<` token was produced between `ReturnType` and `T`. This PR corrects that so 2 `<` tokens are produced.

TS-ESLint get this wrong too - hence why this wasn't noticed before, as our conformance tests compare to TS-ESLint.

PR submitted to fix TS-ESLint: https://github.com/typescript-eslint/typescript-eslint/pull/12821

In meantime, this PR skips the erroneously failing ESTree tokens conformance tests. We can can re-enable those tests once the fix lands in TS-ESLint.
2026-09-04 12:08:49 +00:00
..

Coverage tests

Tools are tested against test262, babel and TypeScript for conformance.

Clone the test repositories beforehand:

just submodules

Development

# full run
cargo coverage

# run a single tool against its supported conformance suites
cargo coverage parser
cargo coverage transformer
cargo coverage minifier

# run in watch
cargo watch -x 'coverage minifier'

# filter for a file path
cargo watch -x 'coverage minifier --filter filter-file-path'

# find crash scene by turning off rayon and print out the test cases in serial
cargo coverage --debug

# Run after submodules are updated
UPDATE_SNAPSHOT=1 just c