mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
33 lines
735 B
Text
33 lines
735 B
Text
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`createVoiceMessageContent should create a voice message content 1`] = `
|
||
|
Object {
|
||
|
"body": "Voice message",
|
||
|
"file": Object {},
|
||
|
"info": Object {
|
||
|
"duration": 23000,
|
||
|
"mimetype": "ogg/opus",
|
||
|
"size": 42000,
|
||
|
},
|
||
|
"msgtype": "m.audio",
|
||
|
"org.matrix.msc1767.audio": Object {
|
||
|
"duration": 23000,
|
||
|
"waveform": Array [
|
||
|
1,
|
||
|
2,
|
||
|
3,
|
||
|
],
|
||
|
},
|
||
|
"org.matrix.msc1767.file": Object {
|
||
|
"file": Object {},
|
||
|
"mimetype": "ogg/opus",
|
||
|
"name": "Voice message.ogg",
|
||
|
"size": 42000,
|
||
|
"url": "mxc://example.com/file",
|
||
|
},
|
||
|
"org.matrix.msc1767.text": "Voice message",
|
||
|
"org.matrix.msc3245.voice": Object {},
|
||
|
"url": "mxc://example.com/file",
|
||
|
}
|
||
|
`;
|