Clean up some unit test logs (#7857)
* kill some unit test logs in arrays-test Signed-off-by: Kerry Archibald <kerrya@element.io> * remove mock logs that are asserted against anyway * remove more logs Signed-off-by: Kerry Archibald <kerrya@element.io> * fix safeCOunterpartTranslate warnings in tests Signed-off-by: Kerry Archibald <kerrya@element.io> * more safeCounterpartTranslate warnings Signed-off-by: Kerry Archibald <kerrya@element.io> * lint Signed-off-by: Kerry Archibald <kerrya@element.io> * remove more logs Signed-off-by: Kerry Archibald <kerrya@element.io> * add helper Signed-off-by: Kerry Archibald <kerrya@element.io> * naming Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
e2827b4082
commit
8b9263c808
13 changed files with 108 additions and 91 deletions
|
@ -139,7 +139,7 @@ describe("AppTile", () => {
|
|||
const instance = renderer.root.findByType(AppTile).instance;
|
||||
const endWidgetActions = jest.spyOn(instance, "endWidgetActions");
|
||||
|
||||
console.log("Switch to room 2");
|
||||
// Switch to room 2
|
||||
dis.dispatch({
|
||||
action: Action.ViewRoom,
|
||||
room_id: "r2",
|
||||
|
@ -194,7 +194,7 @@ describe("AppTile", () => {
|
|||
const instance = renderer.root.findByType(AppTile).instance;
|
||||
const endWidgetActions = jest.spyOn(instance, "endWidgetActions");
|
||||
|
||||
console.log("Move widget to center");
|
||||
// Move widget to center
|
||||
|
||||
// Stop mocking settings so that the widget move can take effect
|
||||
mockSettings.mockRestore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue