feat(dashboard): complete React cutover
This commit is contained in:
1 parent
d5f0175dc2
commit
ec0cd1318b
13 files changed
+50
-4291
No files matched your search
@@ -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');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user