test(infra): import diagnostic duplicate from source url · openclaw/openclaw@167588c
steipete
·
2026-04-26
·
via Recent Commits to openclaw:main
Commit 167588c
test(infra): import diagnostic duplicate from source url
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -181,7 +181,7 @@ describe("diagnostic-events", () => {
|
181 | 181 | }); |
182 | 182 | |
183 | 183 | vi.resetModules(); |
184 | | -const specifier = "./diagnostic-events.js"; |
| 184 | +const specifier = new URL("./diagnostic-events.ts", import.meta.url).href; |
185 | 185 | const duplicateModule = (await import(specifier)) as typeof import("./diagnostic-events.js"); |
186 | 186 | duplicateModule.emitDiagnosticEvent({ |
187 | 187 | type: "message.queued", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)