From b689ae529c7db93eccabcb44ed5335e58a19b9d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Exbrayat?= Date: Wed, 1 Sep 2021 22:39:46 +0200 Subject: [PATCH] chore(deps): update jest to v27 (#4472) Updates jest and ts-jest to v27, as jest v27.1.0 includes a necessary fix to unblock further work on spying issues. See https://github.com/facebook/jest/pull/11721 --- __tests__/instance.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/instance.spec.ts b/__tests__/instance.spec.ts index 93ceda9..b6de7f2 100644 --- a/__tests__/instance.spec.ts +++ b/__tests__/instance.spec.ts @@ -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)