Fix typing issues
This commit is contained in:
parent
30d60bfcdd
commit
95c0ff9da9
24 changed files with 36 additions and 121 deletions
|
@ -35,7 +35,6 @@ import {
|
|||
MatrixClient,
|
||||
} from "matrix-js-sdk/src/matrix";
|
||||
import { mocked, MockedObject } from "jest-mock";
|
||||
import { TooltipProvider } from "@vector-im/compound-web";
|
||||
|
||||
import {
|
||||
clearAllModals,
|
||||
|
@ -99,11 +98,9 @@ describe("<SessionManagerTab />", () => {
|
|||
|
||||
const defaultProps = {};
|
||||
const getComponent = (props = {}): React.ReactElement => (
|
||||
<TooltipProvider>
|
||||
<SDKContext.Provider value={sdkContext}>
|
||||
<SessionManagerTab {...defaultProps} {...props} />
|
||||
</SDKContext.Provider>
|
||||
</TooltipProvider>
|
||||
<SDKContext.Provider value={sdkContext}>
|
||||
<SessionManagerTab {...defaultProps} {...props} />
|
||||
</SDKContext.Provider>
|
||||
);
|
||||
|
||||
const toggleDeviceDetails = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue