MCPcopy Create free account
hub / github.com/Noumena-Network/code / resetDatadogForTests

Function resetDatadogForTests

src/services/analytics/datadog.ts:327–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325}
326
327export function resetDatadogForTests(): void {
328 logBatch = []
329 if (flushTimer) {
330 clearTimeout(flushTimer)
331 flushTimer = null
332 }
333 datadogInitialized = null
334 initializeDatadog.cache.clear?.()
335}

Callers 1

datadog.test.tsFile · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected