Skip to content

Commit c45193c

Browse files
committed
Removed unnecessary parenthesis
1 parent a75ba48 commit c45193c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Path to a module exporting a filtering function. This asynchronous function rece
198198

199199
```js title="my-filter.js"
200200
// 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');
201+
const filteringFunction = testPath => testPath.endsWith('.spec.js');
202202

203203
module.exports = testPaths => {
204204
const allowedPaths = testPaths.filter(filteringFunction); // ["path1.spec.js", "path2.spec.js", etc]

0 commit comments

Comments
 (0)