test: tighten line handler error assertion · openclaw/openclaw@d5ea101
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1031,7 +1031,7 @@ describe("handleLineWebhookEvents", () => {
|
1031 | 1031 | expect(buildLineMessageContextMock).toHaveBeenCalledTimes(1); |
1032 | 1032 | expect(processMessage).toHaveBeenCalledTimes(1); |
1033 | 1033 | expect(context.runtime.error).toHaveBeenCalledWith( |
1034 | | -expect.stringContaining("line: event handler failed: Error: transient failure"), |
| 1034 | +"line: event handler failed: Error: transient failure", |
1035 | 1035 | ); |
1036 | 1036 | }); |
1037 | 1037 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。