Skip to content

Commit 5e0fa50

Browse files
committed
test(agents): assert projected startup metadata
1 parent 8eeba1b commit 5e0fa50

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎src/agents/prepared-model-runtime.startup-static.test.ts‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,14 @@ describe("prepared model runtime Gateway catalog mode", () => {
398398
includePluginCatalogs: true,
399399
modelsJsonContents: null,
400400
pluginCatalogs: [],
401-
pluginMetadataSnapshot: mocks.metadataSnapshot,
401+
pluginMetadataSnapshot: expect.objectContaining({
402+
...mocks.metadataSnapshot,
403+
index: expect.objectContaining({
404+
...mocks.metadataSnapshot.index,
405+
workspaceDir: "/tmp/prepared-static-workspace",
406+
}),
407+
workspaceDir: "/tmp/prepared-static-workspace",
408+
}),
402409
workspaceDir: "/tmp/prepared-static-workspace",
403410
}),
404411
);

0 commit comments

Comments
 (0)