theKashey/rewiremock
The right way to mock dependencies in Node.js or webpack environment.
JavaScriptMIT
Issues
- 3
Project status
#151 opened by jankapunkt - 4
nodejs v18.3.0 Error: Rewiremock: there is no "parent module". Is there two HotModuleReplacementPlugins?
#137 opened by Kreijstal - 3
Error: Can't resolve `http`
#152 opened by ratasorin - 18
- 2
Using mock trackers
#150 opened by darcyrush - 2
Testing a promise rejection with custom Error using chai-as-promise not work through rewiremock
#149 opened by reevolt - 2
Mocking external module import
#148 opened by Subham-dury - 2
Ts-node and rewiremock
#147 opened by darcyrush - 1
- 4
Setup for multiple test files
#144 opened by Xerillio - 3
Does rewiremock work with ts-node?
#145 opened by justin-calleja - 4
Mocking non existent modules
#130 opened by saif-shines - 3
- 2
Mock called, but not stubbing dependency
#139 opened by yuv-c - 3
Is it enable can execute like a jest.mock?
#142 opened by HelloChunWei - 0
Typescript setup Error: Rewiremock: there is no "parent module". Is there two HotModuleReplacementPlugins?
#138 opened by jamlen - 1
Configuration for Mocha/webpack5
#135 opened by cardosoj-ppb - 1
Usage inquiry ES6
#133 opened by ukuhnhardt - 10
- 7
"Cannot read property 'parentScope' of null" when clearing require.cache without executing rewiremock.disable()
#90 opened by PatrickShaw - 4
Not getting any results at all using mocha/node
#97 opened by bwillem - 0
Angular 11
#132 opened by ttimmy - 0
how to use in webpack5
#131 opened by nanyanchao - 5
Rewiremock: there is no "parent module". Is there two HotModuleReplacementPlugins?
#106 opened by hyperh - 2
Testing a private function using rewiremock
#129 opened by saif-shines - 3
Something like cache problem
#128 opened by polizinha - 1
Please add a test for a module that returns a Class that gets newed up by the SUT
#127 opened by blmille1 - 1
Documentation Needed: jest.mock Equivalent
#126 opened by shellscape - 2
- 1
Problems mocking ES6 module
#124 opened by Meemaw - 1
Lack of dependencies "webpack-sources"
#123 opened by Meng-Lan - 1
ForceCacheClear doesn't remove overrides
#122 opened by kataik - 3
- 4
mockThroughByDefault plugin doesn't preserve classes
#120 opened by kataik - 0
Simulate the absence of a module
#119 opened by j-ulrich - 1
Module not found: 'rewiremock/webpack/interceptor'
#118 opened by hirikarate - 14
- 11
browserify
#113 opened by boneskull - 1
reference to a module could be kept in the children
#116 opened by theKashey - 3
Consider adding context around examples
#114 opened by RodeoChuck - 0
"Optimistic mode"
#111 opened by theKashey - 7
- 1
- 0
Readme review
#99 opened by dapplion - 1
How to mock @reach/router navigate
#109 opened by thoughtassassin - 1
Mocking node implicit globals.
#107 opened by andreventuravale - 6
Storybook rewire __mocks__
#105 opened by Meemaw - 4
TypeError: Cannot read property 'source' of null
#102 opened by langri-sha - 1
Missing Flow type information for rewiremock/node
#101 opened by langri-sha - 6
struggling to mock
#100 opened by yvz5