Skip to content

Commit f88cfbf

Browse files
committed
test: update case
1 parent 5989572 commit f88cfbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web3/src/utils/__tests__/browser.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ describe('utils/browser', () => {
1616
it('writeCopyText & readCopyText', async () => {
1717
const test = 'test copy text';
1818
writeCopyText(test);
19-
await vi.waitFor(() => {
20-
expect(readCopyText()).resolves.toBe(test);
19+
await vi.waitFor(async () => {
20+
await expect(readCopyText()).resolves.toBe(test);
2121
});
2222
});
2323
});

0 commit comments

Comments
 (0)