Skip to content

Commit 85aa587

Browse files
committed
try fix refreshing
1 parent e870a56 commit 85aa587

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

e2e/zombienet/src/hooks/useContractQuery_2.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ describe('useContractQuery_2', () => {
7272
});
7373
});
7474
console.log('Transfer completed!');
75-
balanceOf.current.refresh();
75+
76+
setTimeout(() => {
77+
balanceOf.current.refresh();
78+
}, 50);
7679

7780
await waitFor(() => {
7881
expect(balanceOf.current.isRefreshing).toEqual(true);

0 commit comments

Comments
 (0)