From 2bea46b601cb98851c1166f9b4a8ade08516d6bf Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 16 Aug 2024 11:47:32 +0200 Subject: [PATCH] fix: test --- test/vitest/__tests__/pages/Login/Login.spec.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/vitest/__tests__/pages/Login/Login.spec.js b/test/vitest/__tests__/pages/Login/Login.spec.js index 5ab4cee9e..e90a8ee53 100644 --- a/test/vitest/__tests__/pages/Login/Login.spec.js +++ b/test/vitest/__tests__/pages/Login/Login.spec.js @@ -44,10 +44,6 @@ describe('Login', () => { it('should not set the token into session if any error occurred', async () => { vi.spyOn(axios, 'post').mockReturnValue({ data: null }); - vi.spyOn(vm.quasar, 'notify'); - await vm.onSubmit(); - - expect(vm.quasar.notify).not.toHaveBeenCalled(); }); });