tinequire
v1.1.3
Published
Tinequire helps with the mocking of nodejs required deps.
Downloads
17
Maintainers
Readme
tinequire
Tinequire helps with the mocking of nodejs required deps.
Install
With npm npm install tinequire or
With yarn yarn add tinequire
Usage
const tinequire = require('tinequire');
const foo = tinequire('./foo', {
'./bar': () => { return 'mocked bar'; }
})Authors
- Manyanda Chitimbo
