Skip to content

Commit 33717a9

Browse files
committed
Fix noImplicitReturns-related issues in src/tests/utils/helpers.tsx
1 parent fceb5fa commit 33717a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/toolkit/src/tests/utils/helpers.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ export const hookWaitFor = async (cb: () => void, time = 2000) => {
5757
})
5858
}
5959
}
60+
61+
return false
6062
}
63+
6164
export const fakeTimerWaitFor = async (cb: () => void, time = 2000) => {
6265
const startedAt = Date.now()
6366

@@ -74,6 +77,8 @@ export const fakeTimerWaitFor = async (cb: () => void, time = 2000) => {
7477
})
7578
}
7679
}
80+
81+
return false
7782
}
7883

7984
export const useRenderCounter = () => {

0 commit comments

Comments
 (0)