Skip to content

v1.0.0

Choose a tag to compare

@ttmarek ttmarek released this 17 Oct 04:11
· 14 commits to master since this release

Breaking Changes

⚠️ The function to make a console mock is now the default (and only) export:

// before
- import { makeConsoleMock } from 'consolemock';
// now
+ import makeConsoleMock from 'consolemock';

Non-Breaking Changes

💎 Has a new method to clear the console mock history: console.clearHistory (#13)

🖨️ Now throws an error if you call print without providing makeConsoleMock with a native console object (#12)

👗 Adopted prettier (#14)