mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 23:54:42 +00:00
test: dedupe agent tests and session helpers
This commit is contained in:
@@ -59,7 +59,7 @@ const TAR_GZ_TRAVERSAL_BUFFER = Buffer.from(
|
||||
|
||||
function mockArchiveResponse(buffer: Uint8Array): void {
|
||||
fetchWithSsrFGuardMock.mockResolvedValue({
|
||||
response: new Response(buffer, { status: 200 }),
|
||||
response: new Response(new Blob([buffer]), { status: 200 }),
|
||||
release: async () => undefined,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user