0
0
Fork 0

fix: test

This commit is contained in:
Alex Moreno 2024-08-16 11:47:32 +02:00
parent ed29088d76
commit 2bea46b601
1 changed files with 0 additions and 4 deletions

View File

@ -44,10 +44,6 @@ describe('Login', () => {
it('should not set the token into session if any error occurred', async () => { it('should not set the token into session if any error occurred', async () => {
vi.spyOn(axios, 'post').mockReturnValue({ data: null }); vi.spyOn(axios, 'post').mockReturnValue({ data: null });
vi.spyOn(vm.quasar, 'notify');
await vm.onSubmit(); await vm.onSubmit();
expect(vm.quasar.notify).not.toHaveBeenCalled();
}); });
}); });