From 80d4fa63ec7741a55d66c6a7e0c4b71caa9655ea Mon Sep 17 00:00:00 2001 From: giuliana Date: Fri, 24 Jan 2025 12:34:59 +0000 Subject: [PATCH] lint --- core/src/components/checkbox/checkbox.tsx | 2 +- core/src/components/checkbox/test/checkbox.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/components/checkbox/checkbox.tsx b/core/src/components/checkbox/checkbox.tsx index dcea4876d7..2e05e366f7 100644 --- a/core/src/components/checkbox/checkbox.tsx +++ b/core/src/components/checkbox/checkbox.tsx @@ -189,7 +189,7 @@ export class Checkbox implements ComponentInterface { name, value, alignment, - required + required, } = this; const mode = getIonMode(this); const path = getSVGPath(mode, indeterminate); diff --git a/core/src/components/checkbox/test/checkbox.spec.ts b/core/src/components/checkbox/test/checkbox.spec.ts index 7b1bac136c..e390d4d1b2 100644 --- a/core/src/components/checkbox/test/checkbox.spec.ts +++ b/core/src/components/checkbox/test/checkbox.spec.ts @@ -65,7 +65,7 @@ describe('ion-checkbox: required', () => { }); const checkbox = page.body.querySelector('ion-checkbox')!; - const nativeInput = checkbox.shadowRoot?.querySelector("input[type=checkbox]")!; + const nativeInput = checkbox.shadowRoot?.querySelector('input[type=checkbox]')!; expect(nativeInput.hasAttribute('required')).toBeTruthy(); }); @@ -79,7 +79,7 @@ describe('ion-checkbox: required', () => { }); const checkbox = page.body.querySelector('ion-checkbox')!; - const nativeInput = checkbox.shadowRoot?.querySelector("input[type=checkbox]")!; + const nativeInput = checkbox.shadowRoot?.querySelector('input[type=checkbox]')!; expect(nativeInput.hasAttribute('required')).toBeFalsy(); });