mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-03 14:51:18 +01:00
Move Profile Editor into the new Settings Tab
This commit is contained in:
@@ -10,21 +10,6 @@ import {
|
||||
} from '../../../state/ducks/globalModals';
|
||||
|
||||
describe('both/state/ducks/globalModals', () => {
|
||||
describe('toggleProfileEditor', () => {
|
||||
const { toggleProfileEditor } = actions;
|
||||
|
||||
it('toggles isProfileEditorVisible', () => {
|
||||
const state = getEmptyState();
|
||||
const nextState = reducer(state, toggleProfileEditor());
|
||||
|
||||
assert.isTrue(nextState.isProfileEditorVisible);
|
||||
|
||||
const nextNextState = reducer(nextState, toggleProfileEditor());
|
||||
|
||||
assert.isFalse(nextNextState.isProfileEditorVisible);
|
||||
});
|
||||
});
|
||||
|
||||
describe('showWhatsNewModal/hideWhatsNewModal', () => {
|
||||
const { showWhatsNewModal, hideWhatsNewModal } = actions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user