* Remove reference to private method `MatrixEvent.setClearData` is private. Use the test helper instead. * Remove redundant params to `expect.toBe` * Convert to typescript