mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-14 21:10:43 +00: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