MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / triggerAll

Function triggerAll

src/test/mutation-observer-test-utils.js:21–27  ·  view source on GitHub ↗
(records)

Source from the content-addressed store, hash-verified

19 return {
20 instances,
21 triggerAll(records) {
22 act(() => {
23 instances.forEach((instance) => {
24 instance.callback(records)
25 })
26 })
27 },
28 restore() {
29 global.MutationObserver = OriginalMutationObserver
30 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected