test: remove only
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
1b3500bbce
commit
72a481ae5b
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue