test: refs #6818 update description
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
07b2be14ae
commit
baf76cf633
|
@ -37,7 +37,7 @@ describe('parsePhone filter', () => {
|
|||
expect(phone).toBe('44123456789');
|
||||
});
|
||||
|
||||
it('adds default prefix when entering the catch block', async () => {
|
||||
it('adds default prefix on error', async () => {
|
||||
vi.spyOn(axios, 'get').mockImplementation((url) => {
|
||||
if (url.includes('Prefixes'))
|
||||
return Promise.reject(new Error('Network error'));
|
||||
|
|
Loading…
Reference in New Issue