Skip to content

Commit

Permalink
chore(heureka): adds some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hodanoori committed Nov 14, 2024
1 parent 66944e7 commit 6bc21df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/heureka/src/lib/slices/createFiltersSlice.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe("createFiltersSlice", () => {
[SERVICES]: { filter2: ["value2"] },
[COMPONENTS]: { filter3: ["value3"] },
},
[constants.SEARCH_TERM]: expect.any(String),
[constants.SEARCH_TERM]: expect.any(String), // Use expect.any() for encoded search term verification
})
})
})
1 change: 1 addition & 0 deletions apps/heureka/src/lib/slices/createGlobalsSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const createGlobalsSlice = (set, get, options) => ({
}
const updatedState = {
[constants.DETAILS_FOR]: panelType,
// Include `iid` or `svn` immediately after `d:issue/service` in the URL
[panelType === constants.PANEL_SERVICE ? constants.SERVICE_NAME : constants.ISSUE_ID]:
panelType === constants.PANEL_SERVICE ? serviceDetail : issueDetail,
}
Expand Down

0 comments on commit 6bc21df

Please sign in to comment.