element-web-Github/test/utils/__snapshots__/createVoiceMessageContent-test.ts.snap
2022-09-29 13:06:49 -06:00

33 lines
735 B
Plaintext

// 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",
}
`;