Skip to content

Commit

Permalink
Add explicit toggle states to test
Browse files Browse the repository at this point in the history
  • Loading branch information
minhaminha committed Sep 9, 2024
1 parent 89d525d commit 7e6e1e0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ hqDefine("cloudcare/js/spec/markdown_spec", [
let sandbox;
beforeEach(function () {
initialPageData.clear();
initialPageData.register("toggles_dict", { CASE_LIST_TILE_CUSTOM: false });
sandbox = sinon.sandbox.create();
});

afterEach(function () {
initialPageData.unregister("toggles_dict");
sandbox.restore();
});

Expand Down

0 comments on commit 7e6e1e0

Please sign in to comment.