MCPcopy
hub / github.com/nytimes/react-tracking / TestPage

Function TestPage

src/__tests__/hooks.test.js:55–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 const testPageData = { page: 'TestPage' };
54
55 function TestPage() {
56 useTracking(testPageData, { dispatchOnMount: true });
57 return null;
58 }
59
60 mount(<TestPage />);
61

Callers

nothing calls this directly

Calls 1

useTrackingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…