unexpected-require
Version:
Easily mock out required modules using Unexpected and mock-require
14 lines (9 loc) • 847 B
Markdown
# Unexpected-require
Easily mock out `require`d modules using [Unexpected](http://unexpected.js.org)
and [mock-require](https://github.com/boblauer/mock-require).
**NOTE:** This only works with modules that are required at run time!
[](http://badge.fury.io/js/unexpected-require)
[](https://travis-ci.org/unexpectedjs/unexpected-require)
[](https://coveralls.io/r/unexpectedjs/unexpected-require)
[](https://david-dm.org/unexpectedjs/unexpected-require)
Read [the documentation](http://unexpected.js.org/unexpected-require/).