Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -65,13 +65,11 @@ describe("<VoiceRecordComposerTile/>", () => {
|
|||
recorder: mockRecorder,
|
||||
});
|
||||
|
||||
mocked(doMaybeLocalRoomAction).mockImplementation(<T extends {}>(
|
||||
roomId: string,
|
||||
fn: (actualRoomId: string) => Promise<T>,
|
||||
_client?: MatrixClient,
|
||||
) => {
|
||||
return fn(roomId);
|
||||
});
|
||||
mocked(doMaybeLocalRoomAction).mockImplementation(
|
||||
<T extends {}>(roomId: string, fn: (actualRoomId: string) => Promise<T>, _client?: MatrixClient) => {
|
||||
return fn(roomId);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
describe("send", () => {
|
||||
|
@ -81,25 +79,21 @@ describe("<VoiceRecordComposerTile/>", () => {
|
|||
"body": "Voice message",
|
||||
"file": undefined,
|
||||
"info": {
|
||||
"duration": 1337000,
|
||||
"mimetype": "audio/ogg",
|
||||
"size": undefined,
|
||||
duration: 1337000,
|
||||
mimetype: "audio/ogg",
|
||||
size: undefined,
|
||||
},
|
||||
"msgtype": MsgType.Audio,
|
||||
"org.matrix.msc1767.audio": {
|
||||
"duration": 1337000,
|
||||
"waveform": [
|
||||
1434,
|
||||
2560,
|
||||
3686,
|
||||
],
|
||||
duration: 1337000,
|
||||
waveform: [1434, 2560, 3686],
|
||||
},
|
||||
"org.matrix.msc1767.file": {
|
||||
"file": undefined,
|
||||
"mimetype": "audio/ogg",
|
||||
"name": "Voice message.ogg",
|
||||
"size": undefined,
|
||||
"url": "mxc://example.com/voice",
|
||||
file: undefined,
|
||||
mimetype: "audio/ogg",
|
||||
name: "Voice message.ogg",
|
||||
size: undefined,
|
||||
url: "mxc://example.com/voice",
|
||||
},
|
||||
"org.matrix.msc1767.text": "Voice message",
|
||||
"org.matrix.msc3245.voice": {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue