Move session manager out of beta (#10968)
* remove old device manager * undo type fix for cypress crypto * update test case
This commit is contained in:
parent
e326526c10
commit
530197bfcd
21 changed files with 450 additions and 1673 deletions
|
@ -26,23 +26,12 @@ describe("viewUserDeviceSettings()", () => {
|
|||
dispatchSpy.mockClear();
|
||||
});
|
||||
|
||||
it("dispatches action to view new session manager when enabled", () => {
|
||||
const isNewDeviceManagerEnabled = true;
|
||||
viewUserDeviceSettings(isNewDeviceManagerEnabled);
|
||||
it("dispatches action to view session manager", () => {
|
||||
viewUserDeviceSettings();
|
||||
|
||||
expect(dispatchSpy).toHaveBeenCalledWith({
|
||||
action: Action.ViewUserSettings,
|
||||
initialTabId: UserTab.SessionManager,
|
||||
});
|
||||
});
|
||||
|
||||
it("dispatches action to view old session manager when disabled", () => {
|
||||
const isNewDeviceManagerEnabled = false;
|
||||
viewUserDeviceSettings(isNewDeviceManagerEnabled);
|
||||
|
||||
expect(dispatchSpy).toHaveBeenCalledWith({
|
||||
action: Action.ViewUserSettings,
|
||||
initialTabId: UserTab.Security,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue