-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the logic for responding with a stub into the stub itself
- Note that this includes a breaking change to the interface. The function passed in will no longer receive the stub as an argument, only the request will be passed. - The `responseCallFunction` on the FakeRequest has also been removed. If you were using that directly and not through the stub functionality, you should be able to replace it by calling your function directly and passing in the request. - Fixes #193
- Loading branch information
Gregg Van Hove
committed
Feb 11, 2019
1 parent
55cde58
commit a0dc4b4
Showing
5 changed files
with
107 additions
and
201 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
Oops, something went wrong.