Explorar el Código

chore: fix failing tests due to migration to the jest

Kia Ishii hace 5 años
padre
commit
b2df4db582
Se han modificado 1 ficheros con 3 adiciones y 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: {