issues
search
jupiter
/
simple-mock
Super simple stubs and spies with 1-step sandbox restore
MIT License
87
stars
12
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Not working with destructured objects
#33
tejohnso
closed
3 years ago
2
How to mock a function?
#32
frankli-dev
closed
4 years ago
3
How can I mock nested function calls?
#31
frankli-dev
closed
4 years ago
1
Mock return value from another mock
#30
alejandrodelarosa
closed
5 years ago
1
Mock function parameters only
#29
Cooya
closed
5 years ago
1
Getter/setter suport
#28
almirfilho
opened
6 years ago
1
Thank you 🎁
#27
gr2m
closed
6 years ago
1
Allow any values for mockValue
#26
antishov
closed
7 years ago
0
Mocking simple function not working as expected
#25
arb
closed
7 years ago
1
Create rejectWith Promises when mock is called
#24
HCanber
closed
7 years ago
0
Mark `mockedValue` as optional.
#23
BadgerBadgerBadgerBadger
closed
7 years ago
0
When a stub is not called, rejectWith results in UnhandledPromiseRejectionWarning
#22
minrwhite
closed
7 years ago
0
v0.7.2 on npm comes with TypeScript `index.ts` file with compilation error
#21
leonyu
closed
7 years ago
1
Revert "Change docs: reset => restore", PR #19
#20
HCanber
closed
8 years ago
0
Change docs: reset => restore
#19
HCanber
closed
8 years ago
0
simple-chai not published on npm
#18
codyzu
closed
8 years ago
3
Add loop toggle functions for stub
#17
natlibfi-arlehiko
closed
8 years ago
1
Add withActions(actions)
#16
HCanber
closed
8 years ago
2
Convert stub.loop to a function
#15
natlibfi-arlehiko
closed
8 years ago
1
Trouble spying on recursive function
#14
nicinabox
closed
8 years ago
4
Add AMD support
#13
natlibfi-arlehiko
closed
8 years ago
1
Add more beginner friendly examples
#12
hobbyexplorer
opened
8 years ago
0
Add granular mock restore to resolve #9
#11
jupiter
closed
8 years ago
0
Fix assert in test.js
#10
leonyu
closed
8 years ago
1
Restore a specific mock/spy
#9
thislooksfun
closed
8 years ago
6
Fixes #7
#8
jupiter
closed
8 years ago
0
`returnWith("")` makes the stub return `undefined`
#7
nfo
closed
8 years ago
2
Add stub.callOriginal() that configures a stub to call the unstubbed function
#6
HCanber
closed
9 years ago
1
Promises
#5
jupiter
closed
9 years ago
0
Add better promise support (resolvesWith & rejectsWith)
#4
FredKSchott
closed
9 years ago
5
Fix to issue #2
#3
gcedo
closed
9 years ago
1
TypeError: Invalid calling object on IE11
#2
gcedo
closed
9 years ago
2
Method to reset a spy
#1
solsson
closed
9 years ago
3