MCPcopy Index your code
hub / github.com/ampproject/amphtml / restoreLogger

Function restoreLogger

testing/console-logging-setup.js:177–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 logger.error.callsFake(console.error.bind(console));
176}
177export function restoreLogger() {
178 loggerSandbox?.restore();
179}

Callers 1

cleanupTestcaseFunction · 0.90

Calls 1

restoreMethod · 0.80

Tested by

no test coverage detected