Skip to content

A desktop coding agent with free access to frontier models.

TypeScript

test: tighten a download check

ogsamrat38ed51a12938
diff --git a/apps/desktop/electron/binary-transfer.test.mjs b/apps/desktop/electron/binary-transfer.test.mjs
index 13a7f72d..0ceed3fe 100644
--- a/apps/desktop/electron/binary-transfer.test.mjs
+++ b/apps/desktop/electron/binary-transfer.test.mjs
@@ -64,6 +64,7 @@ test("Claude archive conflict preserves the safe response body without creating
},
});
assert.equal(result.status, 409);
+ assert.ok("body" in result);
assert.equal(result.body, body);
assert.equal(result.path, null);
assert.equal(result.bytes, 0);