MCPcopy
hub / github.com/ampproject/amphtml / resetLogConstructorForTesting

Function resetLogConstructorForTesting

src/utils/log.js:538–540  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536 * Resets log constructor for testing.
537 */
538export function resetLogConstructorForTesting() {
539 logConstructor = null;
540}
541
542/**
543 * Calls the log constructor with a given level function and suffix.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected