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 9249788 commit 0a1bad6Copy full SHA for 0a1bad6
test/helpers/testing/jasmine/main.js
@@ -6,7 +6,8 @@ const { eventName } = getOptions()
6
7
describe('should make tests fail', () => {
8
it(`on ${eventName}`, () => {
9
+ const promise = EVENTS_MAP[eventName].emit()
10
// eslint-disable-next-line no-empty-function, max-nested-callbacks
- EVENTS_MAP[eventName].emit().catch(() => {})
11
+ promise.catch(() => {})
12
})
13
0 commit comments