-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it idempotent to capturePromise (#400)
* Make it idempotent to capturePromise Add uncapturePromise function in order to cancel patch in tests. fix #398 * Move Move cleanup after the assertion To ensure it's executed after the test will execute. * Change setup process for process_p.test.js To assure variables reference to original `then` and `catch` function.
- Loading branch information
1 parent
781e1a2
commit 712464f
Showing
3 changed files
with
61 additions
and
21 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