fix(tests): stabilize auto-update-checker isolation under bun
This commit is contained in:
@@ -40,7 +40,7 @@ mock.module("../../../shared/logger", () => ({
|
||||
log: () => {},
|
||||
}))
|
||||
|
||||
const { runBackgroundUpdateCheck } = await import("./background-update-check")
|
||||
const { runBackgroundUpdateCheck } = await import("./background-update-check?test")
|
||||
|
||||
describe("runBackgroundUpdateCheck", () => {
|
||||
const mockCtx = { directory: "/test" } as any
|
||||
|
||||
Reference in New Issue
Block a user