We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7a6c3 commit 6834707Copy full SHA for 6834707
tests/unit/index.js
@@ -23,9 +23,9 @@ describe("ContactFormComponent", () => {
23
touched = false
24
error = null
25
resetForm = sinon.spy()
26
- onSave = sinon.stub()
27
- onSave.returns(Promise.resolve())
28
onSaveResponse = Promise.resolve()
+ onSave = sinon.stub()
+ onSave.returns(onSaveResponse)
29
})
30
const buildSubject = () => {
31
const props = {
0 commit comments