Skip to content

Commit

Permalink
added testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikbheda committed Nov 13, 2021
1 parent 1cb27f0 commit f5e0fc0
Show file tree
Hide file tree
Showing 7 changed files with 6,962 additions and 1,137 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@ When working on the tool, use this to link your command for development:
```sh
npm link
```

## Testing Your Changes

- This tool uses a framework called Jest for testing.
- To write additional tests, look for files ending in `.test.js` and find the `describe()` suite that matches the task you want to test.
- When creating a new test or test suite, please add to the `describe()` or `test()` method what the purpose of the test is.
- To run all the test suites, type `npm run test` in the command line.
- To exclude a test, you may go into the test file and change `test()` to `test.skip()` to exclude a single test.
- To exclude all tests/suites except one, add the `only()` method to `describe()` or `it()` to run that test suite or individual test.
Loading

0 comments on commit f5e0fc0

Please sign in to comment.