We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a75ba48 commit c45193cCopy full SHA for c45193c
docs/CLI.md
@@ -198,7 +198,7 @@ Path to a module exporting a filtering function. This asynchronous function rece
198
199
```js title="my-filter.js"
200
// This filter when applied will only run tests ending in .spec.js (not the best way to do it, but it's just an example):
201
-const filteringFunction = (testPath) => testPath.endsWith('.spec.js');
+const filteringFunction = testPath => testPath.endsWith('.spec.js');
202
203
module.exports = testPaths => {
204
const allowedPaths = testPaths.filter(filteringFunction); // ["path1.spec.js", "path2.spec.js", etc]
0 commit comments