Skip to content

Commit b3b5347

Browse files
committed
lint
1 parent 233fd85 commit b3b5347

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

spec/unit/matrixrtc/ToDeviceKeyTransport.spec.ts

+7-6
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
import { type Mocked } from "jest-mock";
18+
1719
import { makeMockEvent, membershipTemplate, mockCallMembership } from "./mocks";
18-
import { ClientEvent, EventType, MatrixClient } from "../../../src";
20+
import { ClientEvent, EventType, type MatrixClient } from "../../../src";
1921
import { ToDeviceKeyTransport } from "../../../src/matrixrtc/ToDeviceKeyTransport.ts";
20-
import { Mocked } from "jest-mock";
2122
import { getMockClientWithEventEmitter } from "../../test-utils/client.ts";
22-
import { Statistics } from "../../../src/matrixrtc";
23+
import { type Statistics } from "../../../src/matrixrtc";
2324
import { KeyTransportEvents } from "../../../src/matrixrtc/IKeyTransport.ts";
2425
import { defer } from "../../../src/utils.ts";
25-
import { Logger } from "../../../src/logger.ts";
26+
import { type Logger } from "../../../src/logger.ts";
2627

2728
describe("ToDeviceKeyTransport", () => {
2829
const roomId = "!room:id";
@@ -166,7 +167,7 @@ describe("ToDeviceKeyTransport", () => {
166167
expect(mockClient.encryptAndSendToDevice).toHaveBeenCalledTimes(0);
167168
});
168169

169-
it("should warn when there is a room mismatch", async () => {
170+
it("should warn when there is a room mismatch", () => {
170171
setup();
171172

172173
transport.start();
@@ -241,7 +242,7 @@ describe("ToDeviceKeyTransport", () => {
241242
},
242243
];
243244

244-
test.each(MALFORMED_EVENT)("should warn on malformed event %j", async (event) => {
245+
test.each(MALFORMED_EVENT)("should warn on malformed event %j", (event) => {
245246
setup();
246247

247248
transport.start();

0 commit comments

Comments
 (0)