chore(deadcode): remove unused cron failure target wrapper · openclaw/openclaw@1989726
vincentkoc
·
2026-06-21
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,6 @@ import { describe, expect, it } from "vitest";
|
3 | 3 | import { |
4 | 4 | resolveCronCurrentSessionTarget, |
5 | 5 | resolveCronDeliverySessionKey, |
6 | | -resolveCronFailureNotificationSessionKey, |
7 | 6 | resolveCronNotificationSessionKey, |
8 | 7 | resolveCronSessionTargetSessionKey, |
9 | 8 | } from "./session-target.js"; |
@@ -65,8 +64,5 @@ describe("cron session target helpers", () => {
|
65 | 64 | expect(resolveCronNotificationSessionKey({ jobId: "job-1", sessionKey: " " })).toBe( |
66 | 65 | "cron:job-1:failure", |
67 | 66 | ); |
68 | | -expect( |
69 | | -resolveCronFailureNotificationSessionKey({ id: "job-2", sessionTarget: "isolated" }), |
70 | | -).toBe("cron:job-2:failure"); |
71 | 67 | }); |
72 | 68 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。