Giters
boblauer
/
mock-require
Simple, intuitive mocking of Node.js modules.
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
461
Watchers:
6
Issues:
31
Forks:
27
boblauer/mock-require Issues
Still maintained ?
Closed
3 years ago
Comments count
3
mocking nested dependencies
Closed
4 years ago
`stop` and `stopAll` should also clear out the cache of previously mocked module
Updated
4 years ago
Comments count
1
Not mocking package under Jest
Closed
6 years ago
Comments count
7
Weird stuff (unmocking might be broken) with Node.js 8
Closed
6 years ago
Comments count
12
How is this difference from Sinon-like packages?
Closed
5 years ago
Comments count
1
Introduce a changelog and version tags
Updated
5 years ago
ModuleNotFoundError: Module not found: Error: Cannot resolve module 'module'
Closed
7 years ago
Comments count
4
Cannot get to work with an express route module
Closed
5 years ago
Comments count
4
reRequiring index files returns startMocking
Updated
6 years ago
Comments count
1
mocking nested dependencies
Closed
6 years ago
Comments count
8
Use normalize() for consistency in Windows
Closed
6 years ago
Comments count
1
The mocked module is still loaded
Closed
6 years ago
Comments count
2
Mocking Nested Dependencies
Closed
6 years ago
Comments count
1
Unexpected Behaviour
Closed
6 years ago
Comments count
1
Impossible to return strings
Closed
6 years ago
Comments count
4
travis ci
Closed
6 years ago
Comments count
3
Module._load alignment with Node
Closed
6 years ago
Comments count
2
`caller.getTypeName is not a function`
Closed
6 years ago
Comments count
5
Issue with mock path
Closed
7 years ago
Comments count
1
Ability to mock missing deps.
Closed
7 years ago
Comments count
2
Using mock require to replace FS module and create a drop in replacement for in-memory filesystems
Closed
7 years ago
Comments count
3
Mocking a module with constructor
Closed
7 years ago
Comments count
3
How to mock requires inside an imported module?
Closed
7 years ago
Comments count
4
Very good!
Closed
8 years ago
Comments count
3
mock-require not always called with Mocha
Closed
7 years ago
Comments count
5
reRequire() returns what mock-require exports
Closed
7 years ago
Comments count
7
Support for Unix wildcards
Closed
7 years ago
Comments count
2
Does this also work with Es2015 ?
Closed
8 years ago
Comments count
6
How to use mock-require with execa?
Closed
8 years ago
Comments count
4
mock.stopAll()
Closed
9 years ago
Comments count
5