Skip to content

Commit

Permalink
chore: fixes unit test to meet the new event emit of terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherferreira9 committed Jan 8, 2025
1 parent 275ac37 commit 93716ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('terminate', () => {
it('should not switch providers if extensionOnly option is true', async () => {
instance.options.extensionOnly = true;
await terminate(instance);
expect(mockEmit).not.toHaveBeenCalled();
expect(mockEmit).toHaveBeenCalledTimes(1);
});
});

Expand Down

0 comments on commit 93716ef

Please sign in to comment.