mirror of https://github.com/openclaw/openclaw.git
Tests: fix discord components loadConfig mock
This commit is contained in:
parent
eedea6cf34
commit
105a6307cc
|
|
@ -10,7 +10,7 @@ vi.mock("../config/config.js", async () => {
|
|||
const actual = await vi.importActual<typeof import("../config/config.js")>("../config/config.js");
|
||||
return {
|
||||
...actual,
|
||||
loadConfig: (...args: unknown[]) => loadConfigMock(...args),
|
||||
loadConfig: () => loadConfigMock(),
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue