oxc/tasks/coverage
overlookmotel e010b6a7a0 feat(transformer/logical-assignment-operators): no temp vars for literals (#7759)
`TransformCtx::duplicate_expression` (introduced in #7754) don't create temp vars for literals. This produces more compact output for the logical assignment operators transform.

This diverges from Babel (it's better!) so add an override for one of Babel's fixtures. Also add further tests for all literal types.
2024-12-10 02:28:28 +00:00
..
misc fix(semantic): syntax error for undeclared private field access (#7635) 2024-12-04 05:33:04 +00:00
snapshots feat(transformer/logical-assignment-operators): no temp vars for literals (#7759) 2024-12-10 02:28:28 +00:00
src feat(parser)!: stage 3 import source and import defer (#7706) 2024-12-06 16:15:52 +00:00
Cargo.toml feat(sourcemap): move oxc_sourcemap to github.com/oxc-project/oxc-sourcemap (#7604) 2024-12-03 11:59:43 +00:00
README.md chore: use dprint to format js, json and markdown 2024-09-08 13:24:58 +08:00

Coverage

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

Clone the test repositories beforehand:

just submodules

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'

# 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