Hey!
Once again thank you for this awesome package.
Unfortunately I am having difficulties using proxyquire :(
Use case:
// lib/package.js
import Database from './services/database';
// ...
// spec/package.spec.js
const proxyquire = require('proxyquire');
const Package = proxyquire(testquire('package', false), {
'./services/database': {}
});
// ...
Output
TypeError: Cannot assign to read only property '.js' of object '#<Object>'
Any thoughts?
Hey!
Once again thank you for this awesome package.
Unfortunately I am having difficulties using proxyquire :(
Use case:
Output
Any thoughts?