Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in sinon
Testing for method calls using sinon on module.exports methods
Mar 16, 2023
javascript
node.js
mocha.js
sinon
chai
Sails.js: Unable to stub a helper for unit testing purposes
Mar 03, 2023
unit-testing
sails.js
sinon
stub
How do I stub and spy at the same time
Feb 12, 2023
javascript
angularjs
unit-testing
mocha.js
sinon
Enzyme: How to test onSubmit function passed as prop?
Feb 09, 2023
unit-testing
reactjs
redux
sinon
enzyme
spying on bunyan log - NodeJS
Jan 30, 2023
javascript
node.js
testing
sinon
bunyan
Getting TypeError: Cannot stub non-existent own property when stubbing async method
Jan 30, 2023
async-await
mocha.js
sinon
chai
testcafe
Has buster.js / sinon something like `jasmine.any()`?
Jan 16, 2023
javascript
sinon
buster.js
then method of resolved promise not called
Jan 11, 2023
angularjs
promise
sinon
karma-jasmine
Original function is called instead of stub
Dec 27, 2022
javascript
express
mocha.js
stub
sinon
Using SinonJS stub (with rewire)
Dec 27, 2022
javascript
node.js
testing
sinon
stub
How to unit test localStorage using sinon
Dec 26, 2022
unit-testing
reactjs
sinon
enzyme
sinon-chai
Unit testing Cloud Functions for Firebase: what's the "right way" to test/mock `transaction`s with sinon.js
Dec 25, 2022
unit-testing
firebase
sinon
google-cloud-functions
sinon-chai
How to check if clearTimeout was called with sinon.useFakeTimers?
Dec 26, 2022
javascript
unit-testing
sinon
cleartimeout
Sinon - when to use spies/mocks/stubs or just plain assertions?
Dec 21, 2022
node.js
unit-testing
tdd
mocha.js
sinon
How can I declare globals for jshint to ignore in ember-cli?
Dec 22, 2022
ember.js
ember-cli
jshint
sinon
check nth call in Sinon stubbed method
Dec 21, 2022
node.js
mocha.js
sinon
nodejs unit test error "sinon.restore is not a function"
Dec 20, 2022
node.js
mocha.js
sinon
spy
Using DOMParser in javascript testing with mocha and JSDOM
Dec 16, 2022
javascript
testing
mocha.js
sinon
jsdom
How to stub document method with sinon - React
Dec 16, 2022
reactjs
window
document
sinon
stub
sinon - create stub that returns own arguments
Feb 06, 2023
node.js
sinon
stub
Older Entries »