From ef8321e8c5a804a0247c47a5edb4870aa770fd49 Mon Sep 17 00:00:00 2001 From: Melbin J Paulose <91303803+melbinjp@users.noreply.github.com> Date: Tue, 18 Aug 2026 10:35:08 +0530 Subject: [PATCH] docs: point CONTRIBUTING at the current run-format-test.js path (#19881) Co-authored-by: fisker Cheung --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 25a8563a6..0ba1ee1f1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -73,7 +73,7 @@ If the list includes `babel`, and the current directory is inside `tests/format/ In addition to Prettier's formatting options, can contain the `errors` property to specify that it's expected that the formatting shouldn't be successful and an error should be thrown for all (`errors: true`) or some combinations of input entries and parsers. -The implementation of `runFormatTest` can be found in [`tests/config/run-format-test.js`](tests/config/run-format-test.js). +The implementation of `runFormatTest` can be found in [`tests/config/format-test/run-format-test.js`](tests/config/format-test/index.js). `tests/format/flow/flow-repo/` contains the Flow test suite and is not supposed to be edited by hand. To update it, clone the Flow repo next to the Prettier repo and run: `node scripts/sync-flow-tests.cjs ../flow/tests/`.