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' } });
});
it('no phone', () => {
const phone = parsePhone(null, '34');
it('no phone', async () => {
const phone = await parsePhone(null, '34');
expect(phone).toBe(undefined);
});