mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 12:21:43 +00:00
fix: stabilize CI type and test harness coverage
This commit is contained in:
@@ -54,8 +54,9 @@ const TAR_GZ_TRAVERSAL_BUFFER = Buffer.from(
|
||||
);
|
||||
|
||||
function mockArchiveResponse(buffer: Uint8Array): void {
|
||||
const blobPart = Uint8Array.from(buffer);
|
||||
fetchWithSsrFGuardMock.mockResolvedValue({
|
||||
response: new Response(new Blob([buffer]), { status: 200 }),
|
||||
response: new Response(new Blob([blobPart]), { status: 200 }),
|
||||
release: async () => undefined,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user