()
| 101 | |
| 102 | // Let the mount-time fetch's .then() microtask resolve and re-render. |
| 103 | const flush = async () => { |
| 104 | await act(async () => { |
| 105 | await Promise.resolve(); |
| 106 | await Promise.resolve(); |
| 107 | }); |
| 108 | }; |
| 109 | |
| 110 | beforeEach(async () => { |
| 111 | vi.clearAllMocks(); |
no test coverage detected