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 bd52bff commit 9c29b6bCopy full SHA for 9c29b6b
lib/effects.js
@@ -49,7 +49,7 @@ async function hopeThat(callback) {
49
result = false
50
const msg = err.inspect ? err.inspect() : err.toString()
51
debug(`Unsuccessful assertion > ${msg}`)
52
- event.dispatcher.on(event.test.finished, test => {
+ event.dispatcher.once(event.test.finished, test => {
53
test.notes.push({ type: 'conditionalError', text: msg })
54
})
55
recorder.session.restore(sessionName)
0 commit comments