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 917ac88 commit b5a9095Copy full SHA for b5a9095
packages/query-core/src/__tests__/focusManager.test.tsx
@@ -25,7 +25,7 @@ describe('focusManager', () => {
25
expect(remove2Spy).not.toHaveBeenCalled()
26
})
27
28
- it('should use focused boolean arg', async () => {
+ it('should use focused boolean arg', () => {
29
let count = 0
30
31
const setup = (setFocused: (focused?: boolean) => void) => {
@@ -38,7 +38,7 @@ describe('focusManager', () => {
38
39
focusManager.setEventListener(setup)
40
41
- await vi.advanceTimersByTimeAsync(20)
+ vi.advanceTimersByTime(20)
42
expect(count).toEqual(1)
43
expect(focusManager.isFocused()).toBeTruthy()
44
0 commit comments