forked from verdnatura/salix-front
fix: refs #6818 test
This commit is contained in:
parent
7693d193f0
commit
c341c06170
|
@ -7,8 +7,8 @@ describe('parsePhone filter', () => {
|
|||
vi.spyOn(axios, 'get').mockReturnValue({ data: { prefix: '34' } });
|
||||
});
|
||||
|
||||
it('no phone', () => {
|
||||
const phone = parsePhone(null, '34');
|
||||
it('no phone', async () => {
|
||||
const phone = await parsePhone(null, '34');
|
||||
expect(phone).toBe(undefined);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue