diff --git a/test/vitest/__tests__/components/common/VnLinkPhone.spec.js b/test/vitest/__tests__/components/common/VnLinkPhone.spec.js index 3e0a532ed..a34ef90a5 100644 --- a/test/vitest/__tests__/components/common/VnLinkPhone.spec.js +++ b/test/vitest/__tests__/components/common/VnLinkPhone.spec.js @@ -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'));