Align compare navbar state mapping with MAP and PERFORMANCE tabs
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -50,6 +50,11 @@ describe("pageAdminStore", () => {
|
||||
expect(store.pendingActivePage).toBe("MAP");
|
||||
});
|
||||
|
||||
it("setPendingActivePage maps CompareDashboard to PERFORMANCE", () => {
|
||||
store.setPendingActivePage("CompareDashboard");
|
||||
expect(store.pendingActivePage).toBe("PERFORMANCE");
|
||||
});
|
||||
|
||||
it("copyPendingPageToActivePage transfers value", () => {
|
||||
store.setPendingActivePage("CheckConformance");
|
||||
store.copyPendingPageToActivePage();
|
||||
|
||||
Reference in New Issue
Block a user