1
0
Эх сурвалжийг харах

chore: fix failing tests due to migration to the jest

Kia Ishii 5 жил өмнө
parent
commit
b2df4db582

+ 3 - 3
test/unit/modules.spec.js

@@ -734,9 +734,9 @@ describe('Modules', () => {
   })
 
   it('action error subscribers', (done) => {
-    const beforeSpy = jasmine.createSpy()
-    const afterSpy = jasmine.createSpy()
-    const errorSpy = jasmine.createSpy()
+    const beforeSpy = jest.fn()
+    const afterSpy = jest.fn()
+    const errorSpy = jest.fn()
     const error = new Error()
     const store = new Vuex.Store({
       actions: {