Bin
2025-12-17 262fecaa75b2909ad244f12c3b079ed3ff4ae329
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { CURRENT_FLAGS } from "../feature-flags";
import "@humansignal/frontend-test/cypress/support/e2e";
 
beforeEach(() => {
  cy.on("window:before:load", (win) => {
    console.log("Setting feature flags", CURRENT_FLAGS);
    Object.assign(win, {
      DISABLE_DEFAULT_LSF_INIT: true,
      APP_SETTINGS: {
        ...(win.APP_SETTINGS ?? {}),
        feature_flags: CURRENT_FLAGS,
      },
    });
  });
  cy.log("Feature flags set");
});