You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Enable strictPropertyInitialization (#11203)
This commit is contained in:
committed by
GitHub
parent
4207d182cd
commit
cfd48b36aa
@ -1101,7 +1101,10 @@ describe("OwnBeaconStore", () => {
|
||||
// still sharing
|
||||
expect(mockClient.unstable_setLiveBeacon).not.toHaveBeenCalled();
|
||||
expect(store.isMonitoringLiveLocation).toEqual(true);
|
||||
expect(errorLogSpy).toHaveBeenCalledWith("Geolocation failed", "error message");
|
||||
expect(errorLogSpy).toHaveBeenCalledWith(
|
||||
"Geolocation failed",
|
||||
expect.objectContaining({ message: "error message" }),
|
||||
);
|
||||
});
|
||||
|
||||
it("publishes last known position after 30s of inactivity", async () => {
|
||||
|
Reference in New Issue
Block a user