MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / restoreConsole

Function restoreConsole

functions/slack/test/unit.test.js:119–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117
118//Restore console
119const restoreConsole = function () {
120 console.log.restore();
121 console.error.restore();
122};
123beforeEach(stubConsole);
124afterEach(restoreConsole);
125

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected