mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 20:35:39 -06:00
test: relax provider normalization expectations
This commit is contained in:
@@ -50,7 +50,7 @@ function normalizeProviderFixture(provider: ProviderPlugin) {
|
||||
|
||||
function expectNormalizedProviderFixture(params: {
|
||||
provider: ProviderPlugin;
|
||||
expectedProvider?: ProviderPlugin | null;
|
||||
expectedProvider?: unknown;
|
||||
expectedDiagnostics?: ReadonlyArray<{ level: PluginDiagnostic["level"]; message: string }>;
|
||||
expectedDiagnosticText?: readonly string[];
|
||||
}) {
|
||||
@@ -69,7 +69,7 @@ function expectNormalizedProviderFixture(params: {
|
||||
|
||||
function expectProviderNormalizationResult(params: {
|
||||
provider: ProviderPlugin;
|
||||
expectedProvider?: ProviderPlugin | null;
|
||||
expectedProvider?: unknown;
|
||||
expectedDiagnostics?: ReadonlyArray<{ level: PluginDiagnostic["level"]; message: string }>;
|
||||
expectedDiagnosticText?: readonly string[];
|
||||
assert?: (
|
||||
|
||||
Reference in New Issue
Block a user