test: tighten provider auth runtime export assertion · openclaw/openclaw@e22730e
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,11 +3,7 @@ import * as providerAuthRuntime from "./provider-auth-runtime.js";
|
3 | 3 | |
4 | 4 | describe("plugin-sdk provider-auth-runtime", () => { |
5 | 5 | it("exports the runtime-ready auth helper", () => { |
6 | | -expect(providerAuthRuntime).toEqual( |
7 | | -expect.objectContaining({ |
8 | | -getRuntimeAuthForModel: expect.any(Function), |
9 | | -}), |
10 | | -); |
| 6 | +expect(providerAuthRuntime.getRuntimeAuthForModel).toBeTypeOf("function"); |
11 | 7 | }); |
12 | 8 | |
13 | 9 | it("generates random OAuth state tokens", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。