mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
docs(formatter): add note for idempotency checks (#26040)
This commit is contained in:
1 parent
bf507f5c64
commit
343e1aa80c
1 file changed
+1
@@ -190,6 +190,7 @@ fn test() {
|
||||
- **Command**: `cargo test -p <crate>` (conformance only: `--test conformance`)
|
||||
- **Debug**: `PRETTIER_FILTER=<name> cargo test -p <crate> --test conformance -- --nocapture`
|
||||
- Conformance compares output with Prettier's snapshots (suite self-provisioned by `oxc_formatter_tests`); reports are pinned with `insta`
|
||||
- Both harnesses re-format every output and record idempotency violations in the snapshots/reports (tracked, not asserted); adding a fixture automatically covers idempotency
|
||||
|
||||
#### oxc_minifier
|
||||
|
||||
|
||||
Reference in new issue
Block a user