mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
test: tighten sdk transport helper
This commit is contained in:
@@ -55,7 +55,6 @@ class FakeTransport implements OpenClawTransport {
|
||||
|
||||
function requireTransportCall(calls: readonly RequestCall[], index: number): RequestCall {
|
||||
const call = calls[index];
|
||||
expect(call).toBeDefined();
|
||||
if (!call) {
|
||||
throw new Error(`Expected transport call ${index}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user