MCPcopy Create free account
hub / github.com/ehmicky/log-process-errors / getConsoleStub

Function getConsoleStub

src/helpers/console.test.js:5–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3// Spy on `console.error()`
4// eslint-disable-next-line no-restricted-globals
5export const getConsoleStub = () => stub(console, 'error')

Callers 2

warnings.test.jsFile · 0.90
events.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…