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