forked from MetaMask/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove sinon sandboxes (MetaMask#788)
Sinon uses the "default sandbox" by default, and this is sufficient for everything we are using Sinon for. People tend to use the `createSandbox` method because they misunderstand how sandboxes work. This often results in interwoven use of a module-specific sandbox and the default sandbox, which leads to errors. Instead we should use the default sandbox and restore it after each test.
- Loading branch information
Showing
4 changed files
with
76 additions
and
81 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
Oops, something went wrong.