-
This project contains working demonstration of the bug. Setup of a problem is
- we want to test module `foo` that requires module `bar` that contains object that contains function `g`. We need to stub…
-
I'm trying to test a file with a default export which imports a non-existing dependency. It does not exist at this time because webpack targets a specific environment (`electron` in my case) during my…
-
How about upgrading to Babel 6.0?
I tried doing that myself but I haven't been able to successfully run the unit tests.
please check my repo if you like: https://github.com/rassiel/automa
I added: `.b…
-
We use a package [proxyquireify](https://github.com/thlorenz/proxyquireify) in order to stub out module dependencies as well as babel-plugin-rewire.
These have worked just fine together in past vers…
-
Hi there,
*\* Please read update first! **
I just switched to 3.7.6 with gulp. When I run test:server I get this (on a router unit test):
```
1) Job API Router: Uncaught error outside test suite:
…
-
> We understand you have a problem and are in a hurry, but please provide us with some info to make it much more likely for your issue to be understood, worked on and resolved quickly.
- Sinon version…
-
Is it possible to use proxyquire with [jspm](http://jspm.io) / [SystemJS](https://github.com/systemjs/systemjs) that runs in the browser? I tried a lot but I don't get it running.
-
Hi,
recently I've added the http://ipinfo.io node js wrapper (https://github.com/IonicaBizau/node-ipinfo) to my app and no matter what i've tried, I'm not able to get proxyquire+sinon to mock its beha…
-
**Issue:**
When using spread operator in tests, proxyquireify cannot parse these files.
**Error:**
```
{ [Error: Line 59: Unexpected token {]
index: 1260,
lineNumber: 59,
column: 38,
descrip…
-
Hi Ionică Bizău, great module.
I'm having trouble stubbing ipinfo during unit tests using mocha+sinon+proxyquire, I presume it mainly due it not returning an object during require.
Tried to follow so…