Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReactTooltip/react-tooltip
/ flushPendingTimers
Function
flushPendingTimers
src/test/test-utils.js:11–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
}
10
11
export
function
flushPendingTimers() {
12
act(() => {
13
jest.runOnlyPendingTimers()
14
})
15
}
16
17
export
async
function
flushMicrotasks() {
18
await
act(
async
() => {
Callers
10
tooltip-removal.spec.js
File · 0.90
tooltip-focus-visible.spec.js
File · 0.90
tooltip-close-and-delay-behavior.spec.js
File · 0.90
tooltip-advanced.spec.js
File · 0.90
tooltip-closing-transition.spec.js
File · 0.90
tooltip-interaction-behavior.spec.js
File · 0.90
tooltip-controlled-and-ref.spec.js
File · 0.90
tooltip-observers.spec.js
File · 0.90
tooltip-edge-cases.spec.js
File · 0.90
tooltip-anchor-selection.spec.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected