Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
fix readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonabc authored Jan 20, 2020
1 parent 1cba550 commit 7d3224a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ Each `mocks` sub-object supports the following API:

`mock` - Add one or more mock(s). Accepts either a single mock configuration and an array of mock configurations.
- defaults to `JSON.parse(process.env.<MOCK NAME>_MOCKS || '[]')`

`setLog` - Set the method used to log commands and API calls during testing
- defaults to `console.log`

`clear` - Clears all currently configured mocks

`restore` - Resets configured mocks and the logging method back to their defaults.

```javascript
Expand Down

0 comments on commit 7d3224a

Please sign in to comment.