-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels