Align compare navbar state mapping with MAP and PERFORMANCE tabs
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
1 parent
f567e86898
commit
0948a82eb5
4 files changed
+14
-6
No files matched your search
@@ -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();
|
||||
|
||||
@@ -24,9 +24,9 @@ describe("pageUtils", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("converts CompareDashboard to DASHBOARD", () => {
|
||||
it("converts CompareDashboard to PERFORMANCE", () => {
|
||||
expect(mapPageNameToCapitalUnifiedName("CompareDashboard")).toBe(
|
||||
"DASHBOARD",
|
||||
"PERFORMANCE",
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user