Not able to figure out whyIn the last diff where I made a jest setup file, but it does not work here and must be locally includedI forgot to implement it (see `jest.config.js` change here).
Since it is already locally included,It seemed to be working because we no longer needed all the Window prep work for tests to pass. But, this must be due to using a newer version of jest or react testing library, as the file written in that diff was not actually implemented. So I just removed those.
Here, we implement jest.setup.js, and remove the obsolete Window statements. do not keep it in the test fileWe extend global mocks for bip39.
We are not able to mock recaptchav3 globally (used in Home and Rewards) because it requires a constant used in those tests.