Tony Massery

Results 5 comments of Tony Massery

So I was about to open the exact same PR, this would be a wonderful enhancement. Any chance this could get traction? We need to pass in an auth token...

in `file.spec.js` you should be able to do ```js import file from './file'; const foo = file.__get__('foo'); const returnValueOfFoo = foo(params) ```

@ryanhomer try: ```js { "presets": [ "es2015", "stage-0" ], "env": { "test": { "plugins": [ "istanbul", "babel-plugin-rewire" ] } } } ```

@ryanhomer did you add istanbul and switch your rewire to babel-install-rewire?

@ryanhomer oh it looks like it doesn't like your use of `babel-plugin-jest-hoist`, try uninstalling that and removing references from it.