Skip to content

Commit

Permalink
remove commented out code from minespace
Browse files Browse the repository at this point in the history
  • Loading branch information
taraepp committed Feb 26, 2025
1 parent 2b53662 commit 53a274f
Showing 1 changed file with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
import { KEYCLOAK } from "@mds/common/constants/environment";
import keycloak from "@mds/common/keycloak";
import { signOutFromSSO, signOutFromSiteMinder } from "@/utils/authenticationHelpers";
import {
KEYCLOAK_LOGOUT_REDIRECT_URI,
SITEMINDER_LOGOUT_REDIRECT_URI,
} from "@/constants/environment";

// TODO: FIX SSO MIGRATION TEST
// describe("`signOutFromSSO` function", () => {
// jest.spyOn(keycloak, "logout");
// it.skip("opens a new window with given url", () => {
// signOutFromSSO();
// expect(keycloak.logout).toHaveBeenCalledWith({
// redirectUri: KEYCLOAK_LOGOUT_REDIRECT_URI,
// });
// });
// });
import { signOutFromSiteMinder } from "@/utils/authenticationHelpers";
import { SITEMINDER_LOGOUT_REDIRECT_URI } from "@/constants/environment";

describe("`signOutFromSiteMinder` function", () => {
jest.spyOn(window, "open");
Expand Down

0 comments on commit 53a274f

Please sign in to comment.