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.
This commit is contained in:
Zach Clendenen
2026-09-18 11:53:32 -05:00
parent afd2a6e3ef
commit 5d29bdea3f

View File

@@ -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: '<div><slot name="header-actions" /><slot /></div>',
};
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,