From f6e6932f932163dc8ddd7ddff5fa690f3552db38 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 28 Nov 2023 17:27:20 -0500 Subject: [PATCH] justify FILTER --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d1b4d9540f..167a62646e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -113,6 +113,8 @@ Test samples are kept in `/test/xxx/samples` folder. pnpm test validator -- -t a11y-alt-text ``` + (You can also do `FILTER= pnpm test ` which removes other tests rather than simply skipping them — this will result in faster and more compact test results, but it's non-idiomatic. Choose your fighter.) + ##### Updating `.expected` files 1. Tests suites like `snapshot` and `parser` assert that the generated output matches the existing snapshot.