Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: align headshot upload test with uncapped gallery policy

[._.]/ Adam Eivy8c085c7aec98
diff --git a/client/src/pages/Authors.test.jsx b/client/src/pages/Authors.test.jsx
index 998f4d4d52..4585bd322d 100644
--- a/client/src/pages/Authors.test.jsx
+++ b/client/src/pages/Authors.test.jsx
@@ -156,8 +156,8 @@ describe('Authors headshot generation', () => {
expect(pickerProps.open).toBe(true);
expect(pickerProps.allowUpload).toBe(true);
- // The page's own product cap still applies, rather than the wider wire limit.
- expect(pickerProps.maxBytes).toBe(12 * 1024 * 1024);
+ // Headshots use the same uncapped file upload as the rest of the gallery.
+ expect(pickerProps.maxBytes).toBeUndefined();
// An uploaded image comes back through the same onSelect as a gallery pick.
act(() => pickerProps.onSelect({ filename: 'up.png', previewUrl: '/data/images/up.png' }));