From ce18b0cb985bcc487f50502b2586a20eca062ff6 Mon Sep 17 00:00:00 2001 From: taiga-family-bot Date: Wed, 6 Sep 2023 11:52:17 +0000 Subject: [PATCH] chore: apply changes after linting [bot] --- .../cypress/tests/addons/phone/phone-non-strict.cy.ts | 8 ++++---- projects/phone/src/lib/masks/phone/phone-mask-free.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/projects/demo-integrations/cypress/tests/addons/phone/phone-non-strict.cy.ts b/projects/demo-integrations/cypress/tests/addons/phone/phone-non-strict.cy.ts index e1e3b8fc8..a0af13a7f 100644 --- a/projects/demo-integrations/cypress/tests/addons/phone/phone-non-strict.cy.ts +++ b/projects/demo-integrations/cypress/tests/addons/phone/phone-non-strict.cy.ts @@ -102,7 +102,7 @@ describe('Phone', () => { .type('{leftArrow}'.repeat('-32'.length)) .realPress([ 'Shift', - ...Array('11'.length).fill('ArrowLeft'), + ...new Array('11'.length).fill('ArrowLeft'), ]); cy.get('@input') @@ -117,7 +117,7 @@ describe('Phone', () => { .type('{leftArrow}') .realPress([ 'Shift', - ...Array('1-3'.length).fill('ArrowLeft'), + ...new Array('1-3'.length).fill('ArrowLeft'), ]); cy.get('@input') @@ -138,7 +138,7 @@ describe('Phone', () => { .type('{leftArrow}'.repeat('-32'.length)) .realPress([ 'Shift', - ...Array('11'.length).fill('ArrowLeft'), + ...new Array('11'.length).fill('ArrowLeft'), ]); cy.get('@input') @@ -153,7 +153,7 @@ describe('Phone', () => { .type('{leftArrow}') .realPress([ 'Shift', - ...Array('1-3'.length).fill('ArrowLeft'), + ...new Array('1-3'.length).fill('ArrowLeft'), ]); cy.get('@input') diff --git a/projects/phone/src/lib/masks/phone/phone-mask-free.ts b/projects/phone/src/lib/masks/phone/phone-mask-free.ts index e3746e1ab..6ee64c76c 100644 --- a/projects/phone/src/lib/masks/phone/phone-mask-free.ts +++ b/projects/phone/src/lib/masks/phone/phone-mask-free.ts @@ -15,7 +15,7 @@ export function maskitoPhoneFreeOptionsGenerator({ metadata: MetadataJson; }): Required { const formatter = new AsYouType(defaultIsoCode, metadata); - const prefix = `+`; + const prefix = '+'; return { ...MASKITO_DEFAULT_OPTIONS,