Update overly sensitive snapshot (#9421)
* Update snapshot * Fix tests by adding missing stubpull/28788/head^2
parent
cb5667b4a4
commit
cf1b592f26
|
@ -106,20 +106,18 @@ exports[`<BeaconMarker /> renders marker when beacon has location 1`] = `
|
||||||
"_eventsCount": 0,
|
"_eventsCount": 0,
|
||||||
"_isOutOfBand": false,
|
"_isOutOfBand": false,
|
||||||
"_maxListeners": undefined,
|
"_maxListeners": undefined,
|
||||||
"_modified": 1647270879403,
|
|
||||||
"_requestedProfileInfo": undefined,
|
|
||||||
"disambiguate": false,
|
"disambiguate": false,
|
||||||
"events": Object {
|
"events": Object {},
|
||||||
"member": null,
|
"membership": undefined,
|
||||||
},
|
"modified": 1647270879403,
|
||||||
"membership": null,
|
|
||||||
"name": "@alice:server",
|
"name": "@alice:server",
|
||||||
"powerLevel": 0,
|
"powerLevel": 0,
|
||||||
"powerLevelNorm": 0,
|
"powerLevelNorm": 0,
|
||||||
"rawDisplayName": "@alice:server",
|
"rawDisplayName": "@alice:server",
|
||||||
|
"requestedProfileInfo": false,
|
||||||
"roomId": "!room:server",
|
"roomId": "!room:server",
|
||||||
"typing": false,
|
"typing": false,
|
||||||
"user": null,
|
"user": undefined,
|
||||||
"userId": "@alice:server",
|
"userId": "@alice:server",
|
||||||
Symbol(kCapture): false,
|
Symbol(kCapture): false,
|
||||||
}
|
}
|
||||||
|
@ -135,20 +133,18 @@ exports[`<BeaconMarker /> renders marker when beacon has location 1`] = `
|
||||||
"_eventsCount": 0,
|
"_eventsCount": 0,
|
||||||
"_isOutOfBand": false,
|
"_isOutOfBand": false,
|
||||||
"_maxListeners": undefined,
|
"_maxListeners": undefined,
|
||||||
"_modified": 1647270879403,
|
|
||||||
"_requestedProfileInfo": undefined,
|
|
||||||
"disambiguate": false,
|
"disambiguate": false,
|
||||||
"events": Object {
|
"events": Object {},
|
||||||
"member": null,
|
"membership": undefined,
|
||||||
},
|
"modified": 1647270879403,
|
||||||
"membership": null,
|
|
||||||
"name": "@alice:server",
|
"name": "@alice:server",
|
||||||
"powerLevel": 0,
|
"powerLevel": 0,
|
||||||
"powerLevelNorm": 0,
|
"powerLevelNorm": 0,
|
||||||
"rawDisplayName": "@alice:server",
|
"rawDisplayName": "@alice:server",
|
||||||
|
"requestedProfileInfo": false,
|
||||||
"roomId": "!room:server",
|
"roomId": "!room:server",
|
||||||
"typing": false,
|
"typing": false,
|
||||||
"user": null,
|
"user": undefined,
|
||||||
"userId": "@alice:server",
|
"userId": "@alice:server",
|
||||||
Symbol(kCapture): false,
|
Symbol(kCapture): false,
|
||||||
}
|
}
|
||||||
|
@ -172,20 +168,18 @@ exports[`<BeaconMarker /> renders marker when beacon has location 1`] = `
|
||||||
"_eventsCount": 0,
|
"_eventsCount": 0,
|
||||||
"_isOutOfBand": false,
|
"_isOutOfBand": false,
|
||||||
"_maxListeners": undefined,
|
"_maxListeners": undefined,
|
||||||
"_modified": 1647270879403,
|
|
||||||
"_requestedProfileInfo": undefined,
|
|
||||||
"disambiguate": false,
|
"disambiguate": false,
|
||||||
"events": Object {
|
"events": Object {},
|
||||||
"member": null,
|
"membership": undefined,
|
||||||
},
|
"modified": 1647270879403,
|
||||||
"membership": null,
|
|
||||||
"name": "@alice:server",
|
"name": "@alice:server",
|
||||||
"powerLevel": 0,
|
"powerLevel": 0,
|
||||||
"powerLevelNorm": 0,
|
"powerLevelNorm": 0,
|
||||||
"rawDisplayName": "@alice:server",
|
"rawDisplayName": "@alice:server",
|
||||||
|
"requestedProfileInfo": false,
|
||||||
"roomId": "!room:server",
|
"roomId": "!room:server",
|
||||||
"typing": false,
|
"typing": false,
|
||||||
"user": null,
|
"user": undefined,
|
||||||
"userId": "@alice:server",
|
"userId": "@alice:server",
|
||||||
Symbol(kCapture): false,
|
Symbol(kCapture): false,
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,6 +184,7 @@ export function createTestClient(): MatrixClient {
|
||||||
setAudioInput: jest.fn(),
|
setAudioInput: jest.fn(),
|
||||||
} as unknown as MediaHandler),
|
} as unknown as MediaHandler),
|
||||||
uploadContent: jest.fn(),
|
uploadContent: jest.fn(),
|
||||||
|
getEventMapper: () => (opts) => new MatrixEvent(opts),
|
||||||
} as unknown as MatrixClient;
|
} as unknown as MatrixClient;
|
||||||
|
|
||||||
client.reEmitter = new ReEmitter(client);
|
client.reEmitter = new ReEmitter(client);
|
||||||
|
|
Loading…
Reference in New Issue