Skip to content

Commit

Permalink
fix: mark onFinished as event, #623
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 25, 2022
1 parent a629db6 commit 6b02dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/api/setup.ts
Expand Up @@ -101,7 +101,7 @@ export function setup(ctx: Vitest) {
{
post: msg => ws.send(msg),
on: fn => ws.on('message', fn),
eventNames: ['onCollected', 'onUserConsoleLog', 'onTaskUpdate'],
eventNames: ['onUserConsoleLog', 'onFinished', 'onCollected'],
serialize: stringify,
deserialize: parse,
},
Expand Down

0 comments on commit 6b02dea

Please sign in to comment.