Skip to content

Commit e2e9254

Browse files
committed
test(auto-reply): align plugin metadata fixture with lint and format
1 parent 6abe5a1 commit e2e9254

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎src/auto-reply/reply/commands-models.test.ts‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ import {
1212
import { buildModelsProviderData, handleModelsCommand } from "./commands-models.js";
1313
import type { HandleCommandsParams } from "./commands-types.js";
1414

15-
const modelCatalogMocks = vi.hoisted(() => ({
16-
loadModelCatalog: vi.fn(),
17-
}));
15+
const modelCatalogMocks = vi.hoisted(() => ({ loadModelCatalog: vi.fn() }));
1816

1917
const modelAuthLabelMocks = vi.hoisted(() => ({
2018
resolveModelAuthLabel: vi.fn<(params: unknown) => string | undefined>(() => undefined),
@@ -139,8 +137,9 @@ vi.mock("../../agents/provider-model-normalization.runtime.js", () => ({
139137
}));
140138

141139
vi.mock("../../plugins/current-plugin-metadata-snapshot.js", async () => ({
142-
clearCurrentPluginMetadataSnapshot: (await import("../../plugins/current-plugin-metadata-state.js"))
143-
.clearCurrentPluginMetadataSnapshot,
140+
clearCurrentPluginMetadataSnapshot: (
141+
await import("../../plugins/current-plugin-metadata-state.js")
142+
).clearCurrentPluginMetadataSnapshot,
144143
getCurrentPluginMetadataSnapshot: () => pluginMetadataMocks.snapshot,
145144
}));
146145

0 commit comments

Comments
 (0)