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

Method constructor

src/test/tooltip-observers.spec.js:17–19  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

15 // Mock MutationObserver with a proper callback mechanism
16 global.MutationObserver = class {
17 constructor(callback) {
18 this.callback = callback
19 }
20
21 observe() {
22 // Using this in an empty method to satisfy linter

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected