mirror of https://github.com/openclaw/openclaw.git
Tests: stub discoverAuthStorage in model catalog mocks
This commit is contained in:
parent
cec404225d
commit
5ae367aadd
|
|
@ -110,6 +110,7 @@ describe("loadModelCatalog", () => {
|
|||
__setModelCatalogImportForTest(
|
||||
async () =>
|
||||
({
|
||||
discoverAuthStorage: () => ({}),
|
||||
AuthStorage: class {},
|
||||
ModelRegistry: class {
|
||||
getAll() {
|
||||
|
|
@ -156,6 +157,7 @@ describe("loadModelCatalog", () => {
|
|||
__setModelCatalogImportForTest(
|
||||
async () =>
|
||||
({
|
||||
discoverAuthStorage: () => ({}),
|
||||
AuthStorage: class {},
|
||||
ModelRegistry: class {
|
||||
getAll() {
|
||||
|
|
@ -198,6 +200,7 @@ describe("loadModelCatalog", () => {
|
|||
__setModelCatalogImportForTest(
|
||||
async () =>
|
||||
({
|
||||
discoverAuthStorage: () => ({}),
|
||||
AuthStorage: class {},
|
||||
ModelRegistry: class {
|
||||
getAll() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue