Skip to content

Commit 03387cc

Browse files
Guillermo Alejandro Gallardo DiezGuillermo Alejandro Gallardo Diez
Guillermo Alejandro Gallardo Diez
authored and
Guillermo Alejandro Gallardo Diez
committedMar 12, 2025
fix: tests
1 parent 9aee736 commit 03387cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎packages/core/src/lib/testUtils.ts

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ export const mockWallet = async <Variation extends Wallet>(
4949

5050
await walletModules.setup();
5151

52+
// await 300ms to allow wallet modules to initialize
53+
await new Promise((resolve) => setTimeout(resolve, 300));
54+
5255
const { modules } = store.getState();
5356
const wallet = await walletModules.getWallet<Variation>(modules[0].id);
5457

0 commit comments

Comments
 (0)