In end-to-end test cases, the wallet is set up twice because @agoric/synpress has code in the before hook that sets up the wallet before running tests. Check the code here.
However, since there is a specific test for setting up the wallet in dapp-offer-upin this file, we can skip the setup done by @agoric/synpress by setting the SKIP_EXTENSION_SETUP environment variable to true. This avoids redundant wallet setups.
In end-to-end test cases, the wallet is set up twice because
@agoric/synpress
has code in thebefore
hook that sets up the wallet before running tests. Check the code here.However, since there is a specific test for setting up the wallet in
dapp-offer-up
in this file, we can skip the setup done by@agoric/synpress
by setting theSKIP_EXTENSION_SETUP
environment variable to true. This avoids redundant wallet setups.