From 36a01b8ee4c5549544c8259e30d65b8da0215d73 Mon Sep 17 00:00:00 2001 From: Mert Akinc <7282195+m-akinc@users.noreply.github.com> Date: Mon, 20 May 2024 18:39:36 -0500 Subject: [PATCH] Feedback --- .../src/button/tests/button.spec.ts | 12 ++++----- .../nimble-components/src/checkbox/index.ts | 8 ++++++ .../src/checkbox/template.ts | 3 +-- .../src/checkbox/tests/checkbox.spec.ts | 12 ++++----- .../src/toggle-button/index.ts | 8 ++++++ .../src/toggle-button/template.ts | 27 +++++++++++-------- 6 files changed, 45 insertions(+), 25 deletions(-) diff --git a/packages/nimble-components/src/button/tests/button.spec.ts b/packages/nimble-components/src/button/tests/button.spec.ts index 43aea1bd1e..59b6e1a2e2 100644 --- a/packages/nimble-components/src/button/tests/button.spec.ts +++ b/packages/nimble-components/src/button/tests/button.spec.ts @@ -4,10 +4,8 @@ import { fixture, type Fixture } from '../../utilities/tests/fixture'; import { waitForUpdatesAsync } from '../../testing/async-helpers'; describe('Button', () => { - async function setup(tabIndex?: string): Promise> { - return fixture