Skip to content

Commit

Permalink
comments on why we need to mock the window.location.href global
Browse files Browse the repository at this point in the history
Signed-off-by: Ivy Astrix <ivy.astrix@gmail.com>
  • Loading branch information
poi-son-ivy committed Mar 18, 2024
1 parent 907a4e8 commit 413cd31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/hedera-wallet-snap/packages/snap/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/configuration
*
* note on the window.location.href global: without this, some tests will fail
* because of an upstream hashgraph node-forge dependency
*/
module.exports = {
clearMocks: false,
Expand Down

0 comments on commit 413cd31

Please sign in to comment.