Skip to content

Commit

Permalink
chore(deps): update jest to v27 (#4472)
Browse files Browse the repository at this point in the history
Updates jest and ts-jest to v27, as jest v27.1.0 includes a necessary fix to unblock further work on spying issues.

See jestjs/jest#11721
  • Loading branch information
cexbrayat authored Sep 1, 2021
1 parent fc6476a commit b689ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/instance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('INSTANCE_EVENT_EMITTER', () => {
})

it('$off event + fn', () => {
const spy2 = jasmine.createSpy('emitter')
const spy2 = jest.fn()
vm.$on('test', spy)
vm.$on('test', spy2)
vm.$off('test', spy)
Expand Down

0 comments on commit b689ae5

Please sign in to comment.