Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e2e1db3

Browse files
committed
Update CONTRIBUTING.md with npm run ava
1 parent a645d16 commit e2e1db3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Before you start, ensure that you have a recent version of node (16 or higher) i
2020
* Transpile the TypeScript to JavaScript: `npm run build`. Note that the JavaScript files are committed to git.
2121
* Run tests: `npm run test`. You’ll need to ensure that the JavaScript files are up-to-date first by running the command above.
2222
* Run the linter: `npm run lint`.
23+
* Run tests for a specific path: `npm run ava -- ./src/filename.test.ts` or `npm run ava -- ./src/feature-flags/`
2324

2425
This project also includes configuration to run tests from VSCode (with support for breakpoints) - open the test file you wish to run and choose "Debug AVA test file" from the Run menu in the Run panel.
2526

0 commit comments

Comments
 (0)