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.