feat(dashboard): complete React cutover

This commit is contained in:
jjbrunton committed 2026-08-08 16:11:57 +01:00
1 parent d5f0175dc2
commit ec0cd1318b
13 files changed
+50 -4291

No files matched your search

-6
View File
@@ -110,10 +110,4 @@ describe('authenticated React dashboard cutover', () => {
expect(upload.status).toBe(404);
});
it('uses the legacy dashboard only when a React build is absent', async () => {
const running = await startServer({ includeReactBuild: false });
runningServers.push(running);
const response = await fetch(running.baseUrl, { headers: { Authorization: `Bearer ${AUTH_TOKEN}` } });
expect(await response.text()).toContain('Legacy dashboard');
});
});