@@ -9,7 +9,7 @@ Please see LICENSE files in the repository root for full details.
99import React from "react" ;
1010import { Room , type MatrixClient } from "matrix-js-sdk/src/matrix" ;
1111import { type IWidget , MatrixWidgetType } from "matrix-widget-api" ;
12- import { act , render , type RenderResult , waitForElementToBeRemoved , waitFor } from "jest-matrix-react" ;
12+ import { act , render , waitForElementToBeRemoved , waitFor } from "jest-matrix-react" ;
1313import userEvent from "@testing-library/user-event" ;
1414import {
1515 type ApprovalOpts ,
@@ -363,8 +363,6 @@ describe("AppTile", () => {
363363 await waitForElementToBeRemoved ( ( ) => renderResult . queryByRole ( "progressbar" ) ) ;
364364 const { asFragment } = renderResult ;
365365
366- console . log ( { isInContainer : WidgetLayoutStore . instance . isInContainer ( r1 , app1 , Container . Center ) } ) ;
367-
368366 expect ( asFragment ( ) ) . toMatchSnapshot ( ) ; // Take a snapshot of the pinned widget
369367 } ) ;
370368
@@ -379,7 +377,6 @@ describe("AppTile", () => {
379377 } ) ;
380378
381379 it ( "clicking 'minimise' should send the widget to the right" , async ( ) => {
382-
383380 const renderResult = render (
384381 < MatrixClientContext . Provider value = { cli } >
385382 < AppTile key = { app1 . id } app = { app1 } room = { r1 } />
@@ -448,7 +445,7 @@ describe("AppTile", () => {
448445
449446 afterEach ( ( ) => {
450447 jest . spyOn ( WidgetLayoutStore . instance , "isInContainer" ) . mockRestore ( ) ;
451- } )
448+ } ) ;
452449
453450 it ( "clicking 'un-maximise' should send the widget to the top" , async ( ) => {
454451 const renderResult = render (
0 commit comments