Skip to content

Commit 500b1b4

Browse files
committed
Remove redundant calls
1 parent 7fc20b5 commit 500b1b4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/unit-tests/components/views/elements/AppTile-test.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ describe("AppTile", () => {
137137
await WidgetLayoutStore.instance.onNotReady();
138138
// @ts-ignore
139139
await RightPanelStore.instance.onNotReady();
140-
// @ts-ignore
141-
await WidgetMessagingStore.instance.onReady();
142140
});
143141

144142
it("destroys non-persisted right panel widget on room change", async () => {
@@ -345,12 +343,6 @@ describe("AppTile", () => {
345343
describe("for a pinned widget", () => {
346344
let moveToContainerSpy: jest.SpyInstance<void, [room: Room, widget: IWidget, toContainer: Container]>;
347345
beforeEach(async () => {
348-
// Do not carry across settings from previous tests
349-
SettingsStore.reset();
350-
// Recalculate now that settings has been reset.
351-
// @ts-ignore
352-
await WidgetLayoutStore.instance.onReady();
353-
354346
moveToContainerSpy = jest.spyOn(WidgetLayoutStore.instance, "moveToContainer");
355347
});
356348

0 commit comments

Comments
 (0)