From 5d29bdea3f9b6d8d5cb57ec64dcd6f53ed10fcee Mon Sep 17 00:00:00 2001 From: Zach Clendenen Date: Fri, 18 Sep 2026 11:53:32 -0500 Subject: [PATCH] test(streaming): render the real settings section in the streaming tests The stub was justified by an auto-stub that mount never applies, and the real section already renders both slots the tests read. --- .../src/v2/components/Settings/StreamingSection.test.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/src/v2/components/Settings/StreamingSection.test.ts b/frontend/src/v2/components/Settings/StreamingSection.test.ts index e8806d297..8d7b02647 100644 --- a/frontend/src/v2/components/Settings/StreamingSection.test.ts +++ b/frontend/src/v2/components/Settings/StreamingSection.test.ts @@ -30,13 +30,6 @@ vi.mock("@/v2/composables/useSnackbar", () => ({ useSnackbar: () => ({ success: vi.fn(), error: vi.fn() }), })); -// The auto-stub drops slot content, and the fleet rows live in the section's -// default slot. -const SettingsSectionStub = { - name: "SettingsSection", - template: '
', -}; - const RBtnStub = { name: "RBtn", props: ["disabled", "prependIcon"], @@ -61,7 +54,6 @@ async function mountSection() { const wrapper = mount(StreamingSection, { global: { stubs: { - SettingsSection: SettingsSectionStub, RBtn: RBtnStub, RIcon: true, RSpinner: true,