From 343e1aa80c7b039d87a4ea9551ca8c3e3420ea99 Mon Sep 17 00:00:00 2001 From: leaysgur <6259812+leaysgur@users.noreply.github.com> Date: Mon, 24 Aug 2026 06:51:46 +0000 Subject: [PATCH] docs(formatter): add note for idempotency checks (#26040) --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 45eb4e569b..f8c1dd5d03 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -190,6 +190,7 @@ fn test() { - **Command**: `cargo test -p ` (conformance only: `--test conformance`) - **Debug**: `PRETTIER_FILTER= cargo test -p --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