test: relax provider normalization expectations · openclaw/openclaw@fd38a8a
steipete
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -50,7 +50,7 @@ function normalizeProviderFixture(provider: ProviderPlugin) {
|
50 | 50 | |
51 | 51 | function expectNormalizedProviderFixture(params: { |
52 | 52 | provider: ProviderPlugin; |
53 | | -expectedProvider?: ProviderPlugin | null; |
| 53 | +expectedProvider?: unknown; |
54 | 54 | expectedDiagnostics?: ReadonlyArray<{ level: PluginDiagnostic["level"]; message: string }>; |
55 | 55 | expectedDiagnosticText?: readonly string[]; |
56 | 56 | }) { |
@@ -69,7 +69,7 @@ function expectNormalizedProviderFixture(params: {
|
69 | 69 | |
70 | 70 | function expectProviderNormalizationResult(params: { |
71 | 71 | provider: ProviderPlugin; |
72 | | -expectedProvider?: ProviderPlugin | null; |
| 72 | +expectedProvider?: unknown; |
73 | 73 | expectedDiagnostics?: ReadonlyArray<{ level: PluginDiagnostic["level"]; message: string }>; |
74 | 74 | expectedDiagnosticText?: readonly string[]; |
75 | 75 | assert?: ( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。