How to use the jest-mock-console.default function in jest-mock-console

To help you get started, we’ve selected a few jest-mock-console examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ynnjs / ynn / test / error / index.spec.js View on Github external
beforeAll( () => {
        restoreConsole = mockConsole();
    } );

jest-mock-console

Jest utility to mock the console

MIT
Latest version published 3 years ago

Package Health Score

47 / 100
Full package analysis

Popular jest-mock-console functions

Similar packages