Skip to content

Commit 0af484e

Browse files
committed
Fix prefer-const lint error in renderBrewing test harness
1 parent bfb6d77 commit 0af484e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/views/steps/renderBrewing.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ function makeHarness(
105105
resetToIdle: vi.fn(),
106106
};
107107
const container = createContainer();
108-
let ctx!: StepRenderContext;
109108
const renderContent = vi.fn(() => {
110109
container.empty();
111110
renderBrewing(container, ctx);
@@ -123,7 +122,7 @@ function makeHarness(
123122
if (flowState.brewingStarted) flowState.cancelBrewingRun();
124123
void runCoordinator.startRun();
125124
}
126-
ctx = {
125+
const ctx = {
127126
flowState,
128127
plugin: {
129128
acaiaService: { state: connected ? 'connected' : 'disconnected' },

0 commit comments

Comments
 (0)