mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
eff863b1c8
## Summary - add a recursive local fixture runner with consolidated JS, JSX, TS, and TSX coverage cases to address missing test coverage
9 lines
454 B
Markdown
9 lines
454 B
Markdown
# Local codegen fixtures
|
|
|
|
Put a `.js`, `.cjs`, `.mjs`, `.jsx`, `.ts`, `.cts`, `.mts`, or `.tsx` reproduction in this directory
|
|
(subdirectories are supported). `fixtures.test.ts` parses each file in unambiguous mode and checks both
|
|
the normal and source-map printers against Rust `oxc_codegen`.
|
|
|
|
Use a hand-built AST test for input shapes a parser cannot produce, such as historical TS-ESLint AST
|
|
layouts. See `test/print.test.ts` for that style of test.
|