python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Sinon ignores subsequent async call
I need to verify that all transaction calls are succeeded.
Here's the example:
module.js
const functionUnderTest = async (helper) => {
await helper.transaction(async (transaction) => {
awa...
vichugunov
Votes: 0
Answers: 1
How To Mock a Dependency Class in Typescript Node Using Chai-Spies
Given something like my-module.ts that will be called by an external consumer that of course cannot do dependency injection to this module's constructor:
import Dependency from 'dependency-class';
imp...
LittleCornerDev
Votes: 0
Answers: 1
Can't Cypress tell me what the exact difference is?
I am new to Cypress. I am using version 8.3 with the Chai assertions.
When I run a test via the Cypress GUI I get a report (left in the image) and it tells me that my deep equals fails. However it doe...
Mytzenka
Votes: 0
Answers: 2
How to send mocked request using chai http
I am fairly new to integration testing and I am trying to send a mock request using mocha and chai http but having no luck. I want to try and have a jwt verified by passing in a mocked token which I c...
Joe Thompson
Votes: 0
Answers: 0