1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

add helpers for beacon duration calculations (#8101)

* add helpers for beacon duration calculations

Signed-off-by: Kerry Archibald <kerrya@element.io>

* makeBeaconInfoEvent timestsamp prop

Signed-off-by: Kerry Archibald <kerrya@element.io>

* ad copyright

Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
Kerry
2022-03-22 11:46:47 +01:00
committed by GitHub
parent abc225d3c6
commit a80e55d38d
5 changed files with 145 additions and 3 deletions

View File

@ -24,7 +24,8 @@ import { getMockClientWithEventEmitter } from "../test-utils/client";
jest.useFakeTimers();
describe('OwnBeaconStore', () => {
// xdescribing while mismatch with matrix-js-sdk
xdescribe('OwnBeaconStore', () => {
// 14.03.2022 16:15
const now = 1647270879403;
const HOUR_MS = 3600000;