Skip to content

v1.0.2

Choose a tag to compare

@ttmarek ttmarek released this 07 Nov 04:54
· 8 commits to master since this release

🔨 Fix module export for common JS (#17)

You can now require consolemock without having to add the .default.

Before you would have to write:

const consolemock = require('consolemock').default;

Now, you can just write:

const consolemock = require('consolemock')

🎉

Thanks to @sudo-suhas.