We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5989572 commit f88cfbfCopy full SHA for f88cfbf
packages/web3/src/utils/__tests__/browser.test.ts
@@ -16,8 +16,8 @@ describe('utils/browser', () => {
16
it('writeCopyText & readCopyText', async () => {
17
const test = 'test copy text';
18
writeCopyText(test);
19
- await vi.waitFor(() => {
20
- expect(readCopyText()).resolves.toBe(test);
+ await vi.waitFor(async () => {
+ await expect(readCopyText()).resolves.toBe(test);
21
});
22
23
0 commit comments