Explorar o código

chore: fix failing tests due to migration to the jest

Kia Ishii %!s(int64=5) %!d(string=hai) anos
pai
achega
b2df4db582
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      test/unit/modules.spec.js

+ 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: {