1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

More posthog tracking around joining rooms and room search (#7807)

This commit is contained in:
Michael Telatynski
2022-02-17 18:03:27 +00:00
committed by GitHub
parent e997676ae2
commit 658590e5bc
59 changed files with 276 additions and 116 deletions

View File

@@ -38,6 +38,8 @@ describe('RoomViewStore', function() {
beforeEach(function() {
testUtils.stubClient();
peg.get().credentials = { userId: "@test:example.com" };
peg.get().on = jest.fn();
peg.get().off = jest.fn();
// Reset the state of the store
RoomViewStore.reset();