1.1.3 • Published 5 years ago
tinequire v1.1.3
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