Skip to content

Commit 3560b46

Browse files
chore: fix unused variable lint warnings in equipment check tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3e37d92 commit 3560b46

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

playwright/component-tests/equipment-check/AudioEquipmentCheck.ct.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ test('AEC-001: begin button starts flow', async ({ mount, page }) => {
103103
await setupGlobalsMock(page);
104104
await installAudioMocks(page);
105105

106-
let nextCalled = false;
107106
await mount(
108-
<AudioEquipmentCheck next={() => { nextCalled = true; }} />,
107+
<AudioEquipmentCheck next={() => {}} />,
109108
{ hooksConfig: hooksConfig() },
110109
);
111110

playwright/component-tests/equipment-check/HeadphonesCheck.ct.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ test('HC-001: headphones button reveals speaker selection', async ({ mount, page
118118
await installAudioMocks(page);
119119

120120
const statuses = [];
121-
const component = await mount(
121+
await mount(
122122
<HeadphonesCheck
123123
setHeadphonesStatus={(s) => statuses.push(s)}
124124
setErrorMessage={() => {}}

playwright/component-tests/equipment-check/MicCheck.ct.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ test('MC-003: change mic resets to selection', async ({ mount, page }) => {
112112
});
113113

114114
/** MC-004: No microphones triggers fail after timeout */
115-
test('MC-004: no microphones triggers fail', async ({ mount, page }) => {
115+
test('MC-004: no microphones triggers fail', async ({ mount }) => {
116116
let latestStatus = 'waiting';
117117
let latestError = null;
118118

0 commit comments

Comments
 (0)