forked from verdnatura/salix-front
Merge branch 'dev' into 7354_ZoneMigration_End
This commit is contained in:
commit
93a56b036a
|
@ -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