fix(bonjour): classify ciao IPv4 changed assertion · openclaw/openclaw@9a19d8b
vincentkoc
·
2026-04-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -21,6 +21,17 @@ describe("bonjour-ciao", () => {
|
21 | 21 | }); |
22 | 22 | }); |
23 | 23 | |
| 24 | +it("classifies ciao interface assertions using changed wording", () => { |
| 25 | +expect( |
| 26 | +classifyCiaoUnhandledRejection( |
| 27 | +new Error("Reached illegal state! IPv4 address changed from undefined to defined!"), |
| 28 | +), |
| 29 | +).toEqual({ |
| 30 | +kind: "interface-assertion", |
| 31 | +formatted: "Reached illegal state! IPv4 address changed from undefined to defined!", |
| 32 | +}); |
| 33 | +}); |
| 34 | + |
24 | 35 | it("classifies ciao netmask assertions separately from side effects", () => { |
25 | 36 | expect( |
26 | 37 | classifyCiaoUnhandledRejection( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。