1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Optimise Jest run in CI (#9542)

This commit is contained in:
Michael Telatynski
2022-11-04 10:48:08 +00:00
committed by GitHub
parent 28ecdc0cb4
commit 04bc8fb71c
55 changed files with 1388 additions and 1305 deletions

View File

@@ -1,32 +1,32 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`createVoiceMessageContent should create a voice message content 1`] = `
Object {
{
"body": "Voice message",
"file": Object {},
"info": Object {
"file": {},
"info": {
"duration": 23000,
"mimetype": "ogg/opus",
"size": 42000,
},
"msgtype": "m.audio",
"org.matrix.msc1767.audio": Object {
"org.matrix.msc1767.audio": {
"duration": 23000,
"waveform": Array [
"waveform": [
1,
2,
3,
],
},
"org.matrix.msc1767.file": Object {
"file": Object {},
"org.matrix.msc1767.file": {
"file": {},
"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 {},
"org.matrix.msc3245.voice": {},
"url": "mxc://example.com/file",
}
`;