element-web/test
Luke Barnard d91d1932f4 Add tests for RoomSettings
For setting:
 - name
 - topic
 - history visibility
 - power levels

Testing RoomSettings required more stubbing on the matrix client.

The power level tests should be failing at this commit, with
fixes being made in upcoming commits.

Some tests are marked as known failures that we should fix but
aren't necessarily bugs:
 - SettingStore.setValue is used when saving despite the user not
   having made a change.
 - Testing directory publicity changes cannot be tested because we
   update state asynchronously in componentWillMount (which we do
   not block on in beforeEach).

Also, we needed to use `export default` to make sure everything
uses the same client peg and client.
2018-02-28 16:07:21 +00:00
..
components Add tests for RoomSettings 2018-02-28 16:07:21 +00:00
i18n
i18n-test Perform substitution on all parts, not just the last one 2017-11-17 08:47:31 +01:00
img
stores
utils
.eslintrc.js
all-tests.js Run eslint --fix 2017-10-11 17:56:17 +01:00
mock-clock.js Run eslint --fix 2017-10-11 17:56:17 +01:00
skinned-sdk.js Run eslint --fix 2017-10-11 17:56:17 +01:00
test-utils.js Add tests for RoomSettings 2018-02-28 16:07:21 +00:00