fix: refs #6818 test
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-12-02 10:36:30 +01:00
parent 7693d193f0
commit c341c06170
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}); });