mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:30:43 +00:00
test(infra): import diagnostic duplicate from source url
This commit is contained in:
@@ -181,7 +181,7 @@ describe("diagnostic-events", () => {
|
||||
});
|
||||
|
||||
vi.resetModules();
|
||||
const specifier = "./diagnostic-events.js";
|
||||
const specifier = new URL("./diagnostic-events.ts", import.meta.url).href;
|
||||
const duplicateModule = (await import(specifier)) as typeof import("./diagnostic-events.js");
|
||||
duplicateModule.emitDiagnosticEvent({
|
||||
type: "message.queued",
|
||||
|
||||
Reference in New Issue
Block a user