mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-27 00:17:29 +00:00
test: trim more extension mock imports
This commit is contained in:
@@ -74,8 +74,8 @@ describe("openshell cli helpers", () => {
|
||||
|
||||
describe("openshell backend manager", () => {
|
||||
beforeAll(async () => {
|
||||
vi.doMock("./cli.js", async (importOriginal) => {
|
||||
const actual = await importOriginal<typeof import("./cli.js")>();
|
||||
vi.doMock("./cli.js", async () => {
|
||||
const actual = await vi.importActual<typeof import("./cli.js")>("./cli.js");
|
||||
return {
|
||||
...actual,
|
||||
runOpenShellCli: cliMocks.runOpenShellCli,
|
||||
|
||||
Reference in New Issue
Block a user