mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-17 21:10:54 +00:00
Tests: relax provider auth hint contract
This commit is contained in:
@@ -26,7 +26,9 @@ export function installProviderPluginContractSuite(params: { provider: ProviderP
|
||||
for (const method of provider.auth) {
|
||||
expect(method.id.trim()).not.toBe("");
|
||||
expect(method.label.trim()).not.toBe("");
|
||||
expect(method.hint.trim()).not.toBe("");
|
||||
if (method.hint !== undefined) {
|
||||
expect(method.hint.trim()).not.toBe("");
|
||||
}
|
||||
expect(typeof method.run).toBe("function");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user