Skip to content

Commit c09894f

Browse files
committed
test(app): provide settings in model selection tests
1 parent 8d3c991 commit c09894f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/app/test-browser/local-model-selection.test.tsx‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ beforeAll(async () => {
148148
},
149149
}),
150150
}))
151+
mock.module("@/context/settings", () => ({
152+
useSettings: () => ({
153+
visibility: {
154+
customAgents: () => false,
155+
},
156+
}),
157+
}))
151158
mock.module("@/context/platform", () => ({
152159
usePlatform: () => ({ platform: "browser" }),
153160
}))

0 commit comments

Comments
 (0)