test: remove only
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-11-27 01:30:42 +01:00
parent 1b3500bbce
commit 72a481ae5b
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { describe, it, expect } from 'vitest';
import parsePhone from 'src/filters/parsePhone';
describe.only('parsePhone filter', () => {
describe('parsePhone filter', () => {
it("adds prefix +34 if it doesn't have one", () => {
const resultado = parsePhone('123456789', '34');
expect(resultado).toBe('34123456789');
@ -22,7 +22,7 @@ describe.only('parsePhone filter', () => {
expect(resultado).toBe('34123456789');
});
it.only('replaces incorrect prefix with the correct one', () => {
it('replaces incorrect prefix with the correct one', () => {
const resultado = parsePhone('+44123456789', '34');
expect(resultado).toBe('44123456789');
});