-
I don't really know why this is happening, but I started getting
```
TypeError: constructor.schema.unwrap is not a function
at Array. (/opt/node_modules/js-schema/lib/patterns/class.js:36:31)…
-
## Version **1.7.10** of [proxyquire](https://github.com/thlorenz/proxyquire) just got published.
Branch
Build failing 🚨
Dependency
…
-
I'm trying to setup sinon-mongoose in my project, but `npm install -D sinon-mongoose` fails with `UNMET PEER DEPENDENCY sinon@2.1.0`.
I'm a complete newbie at unit testing with JS, so I might as we…
-
Right now you can see from thlorenz/proxyquire#136 that if you use a class-based stub, proxyquire won't "see" those instance methods and will overwrite them with the call-through library that was actu…
-
I didn't find this in the documentation and I haven't found a way to do this, hence the question.
If I have something like this.
`src/main.js`
``` js
var bleno = require('bleno');
var condition = …
-
I'm creating a generator with sub-generators. My `generators` folder contains `app` (main generator) and `sub-app` (sub-generator) among other sub-generators.
When I call `yo` on the command line and …
-
I am using babel 6.X versions and gulp. I am not able to run grunt serve, it gives the below error:-
throw er; // Unhandled stream error in pipe.
^
ReferenceError: [BABEL] D:\Sapient_Lear…
-
When I use the library how can I fake the delay and instead of waiting return an instantly resolving Promise?
-
- proxyquire
-
Currently as far as I can tell, there is no way to mock side-effects in the initialization code of proxied modules. Example:
#### requiredmodule.js
```
module.exports = { foo: function () {}}
// ...…