issues
search
thlorenz
/
proxyquire
🔮 Proxies nodejs require in order to allow overriding dependencies during testing.
MIT License
2.75k
stars
100
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
module exporting a function
#275
erakis
closed
6 months ago
1
Cannot read property 'require' of undefined when using ES6 modules
#274
springcomp
closed
1 year ago
5
docs: fix simple typo, excuted -> executed
#273
timgates42
closed
1 year ago
0
Proxyquire not working with node@16?
#272
ericmorand
closed
2 years ago
1
Proxyquire compatibility with ESM
#271
IsaacChaverri
closed
2 years ago
1
Can we stub pg library of nodejs using proxyquire?
#270
Saini01Basu
closed
2 years ago
1
Stubbing peer dependencies
#269
jankapunkt
closed
2 years ago
3
How to use multiple ways to override the imported function in controller using proxyquire
#268
rruichava
closed
2 years ago
1
proxyquire jasmine expect not working - 1 test 0 assertions
#267
Fabiomad85
closed
2 years ago
2
Stubbing a dependency within a base class
#266
oldschoolbg
closed
2 years ago
2
`createRequire` support & a way to access the mocked `require`
#265
PaperStrike
opened
2 years ago
6
Slightly confusing first example in readme
#264
sohale
closed
2 years ago
1
Unable to resolve module `module` from `node_modules/proxyquire/lib/proxyquire.js`
#263
warunacds
closed
3 years ago
1
Mocks the first require only
#262
shukriadams
closed
3 years ago
1
Cleanup temporal module from a cache, fixes #174
#261
theKashey
opened
3 years ago
0
Cannot proxy module sub-item
#260
guycnicholas
closed
3 years ago
3
Examples of use with classes
#259
blmille1
closed
3 years ago
2
NodeJS karma proxyquire gives Error: ENOENT: no such file or directory, scandir C:\\<path to project>\\[object Object][object Object]
#258
souptikmakarov
closed
3 years ago
1
Using `@global` on path with subdir causes Node to throw MODULE_NOT_FOUND error
#257
ryanblock
closed
3 years ago
4
TypeScript definitions
#256
SnarkBoojum
opened
3 years ago
1
Unable to stub indirect improts
#255
sujeet-agrahari
closed
3 years ago
3
Problem when stubbing for just one test
#254
Coteh
closed
4 years ago
1
global require not working
#253
jcald1
closed
4 years ago
2
docs: Fix simple typo, overriden -> overridden
#252
timgates42
closed
4 years ago
0
Stubbing multiple requests with proxyquire
#251
Tyzanol
closed
4 years ago
1
Cannot find module based on relative path
#250
kukko
closed
4 years ago
2
Stubbing another file that is required in an express route
#249
stephclleung
closed
4 years ago
1
Problem with a simple example...
#248
ScottChapman
closed
4 years ago
2
Mocking Dependency Doesn't Work With Classes
#247
JimLynchCodes
closed
5 years ago
6
Fix removal of module with null throwing incorrect error type
#246
dsommerich
closed
5 years ago
1
fix for GH-244 non-existent relative module @noCallThru
#245
bvalerius
closed
5 years ago
1
@noCallThru per module-level does not work on a non-existing relative import
#244
bvalerius
closed
5 years ago
0
Update dependencies
#243
delaguilaluis
closed
5 years ago
2
proxy a dependency which requires a constructor
#242
cassiodias
closed
5 years ago
5
README.md: Fix typo
#241
MaxNanasy
closed
5 years ago
0
TypeError: myClass is not a constructor
#240
doque
closed
3 years ago
3
Enhances docs for global overrides
#239
klausbayrhammer
closed
3 years ago
0
Huge performance regression from 1.8.0 to 2.1.0
#238
fatso83
closed
3 years ago
7
Add file path reference to README.md
#237
loujaybee
closed
5 years ago
0
proxyquire not stubbing module function
#236
samuela
closed
5 years ago
2
Unable to run it with Karma
#235
ghost
closed
5 years ago
1
Warn or error when stubbing non-existent functions
#234
tstackhouse
opened
5 years ago
1
path foo example ... use path 'path' for require
#233
amirbey
closed
5 years ago
4
How to stub out other module dependencies
#232
parky128
closed
5 years ago
1
Global variables
#231
NathanHazout
closed
5 years ago
1
Cannot read property 'onReady' of undefined
#230
laggingreflex
opened
5 years ago
1
Proxyquire required dependency not working
#229
lokeshkr2
closed
5 years ago
1
Added requireStubs() feature
#228
samuelms1
closed
4 years ago
7
Mocking URLs
#227
Wildhoney
closed
5 years ago
7
Recursive noPreserveCache: deps should also be reloaded
#226
axelpale
opened
5 years ago
0
Next