forked from verdnatura/salix-front
fix: test
This commit is contained in:
parent
ed29088d76
commit
2bea46b601
|
@ -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();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue