Clean up appState module, move to common, simplify events (#2676)

* Refactor appState into class, simplify events

* Move appState to common module, make case for object consistent

* Naming change

* Update name
This commit is contained in:
Devin Binnie
2023-04-14 12:09:33 -04:00
committed by GitHub
parent c0dddd88ee
commit 1428ba694b
13 changed files with 132 additions and 156 deletions

View File

@@ -107,7 +107,7 @@ jest.mock('./modalManager', () => ({
isModalDisplayed: jest.fn(),
}));
jest.mock('./webContentEvents', () => ({}));
jest.mock('../appState', () => ({}));
jest.mock('common/appState', () => ({}));
describe('main/views/viewManager', () => {
describe('loadView', () => {