Skip to content

Commit

Permalink
updated UT
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjan-n1 committed Jul 16, 2024
1 parent 642ccca commit 7e9bb95
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ describe("GIVEN onTopologyChange function", () => {
document.body.innerHTML = `
<input type="checkbox" id="topology">
<div id="topology-note-wrapper" style="display:">
<div id="observability-operator-topology-wrapper" style="display:">
<div id="observability-operator-topology-wrapper" style="display:">
`;
onCertManagerChange("Temp topology note");
expect($("div#topology-note-wrapper").css("display")).toEqual("block");
Expand All @@ -268,7 +268,7 @@ describe("GIVEN onTopologyChange function", () => {
document.body.innerHTML = `
<input type="checkbox" id="topology" checked>
<div id="topology-note-wrapper" style="display:none">
<div id="observability-operator-topology-wrapper" style="display:none">
<div id="observability-operator-topology-wrapper" style="display:none">
`;
onCertManagerChange("Temp topology note");
expect($("div#topology-note-wrapper").css("display")).toEqual("none");
Expand Down

0 comments on commit 7e9bb95

Please sign in to comment.