fix: address Task 4 review findings
This commit is contained in:
@@ -7,6 +7,9 @@ import { AppRoutes } from "./AppRoutes.js";
|
||||
afterEach(() => cleanup());
|
||||
|
||||
describe("AppRoutes", () => {
|
||||
// Task 5-7 replace pending leaves and restore the deferred ConsoleHome surfaces.
|
||||
it.todo("restores source, demo, and lifecycle application coverage after Task 5-7");
|
||||
|
||||
it.each([
|
||||
["/", "Discover"],
|
||||
["/console", "Discover"],
|
||||
|
||||
@@ -148,6 +148,7 @@ describe("success", () => {
|
||||
expect(next.serverStatus).toBe("ok");
|
||||
expect(next.storeRoot).toBe("/tmp/store");
|
||||
expect(next.durationMs).toBe(10);
|
||||
expect(next.sourcesLoading).toBe(false);
|
||||
});
|
||||
|
||||
it("persists target to sessionStorage when available", () => {
|
||||
|
||||
@@ -122,7 +122,8 @@ export const connectionReducer = (
|
||||
storeRoot: action.data.connection.storeRoot,
|
||||
durationMs: action.data.connection.durationMs,
|
||||
message: null,
|
||||
sourcesLoading: true,
|
||||
// The routed workspace does not fetch sources until a later task owns that surface.
|
||||
sourcesLoading: false,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user