-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Investigating new handlers structure (#115)
* purge will only happen if array.length === 7 * merged test from overwrite-existing-mocks * removed replyOnceHandlers * added functionality to overwrite exisitng mocks that use .reply * updated test to verify new code * code cleanup * resolved conflict * fixed linting issues * now checking matcher, body, and headers for deep equality * added test for overwriting with params and headers * Updated path check as we need to stringify the RegExp * added test to check that regex overwrite properly * removed deepEqual on scalar values * added strict to avoid type coercion * updated header test
- Loading branch information
1 parent
fdfd66c
commit 84e343e
Showing
4 changed files
with
178 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters