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 Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Perform substitution on all parts, not just the last one 2017-11-17 08:47:31 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
stores q(...) -> Promise.resolve 2017-07-12 18:05:08 +01:00
utils rewrite MegolmExportEncryption using async/await 2017-06-08 14:45:01 +01:00
.eslintrc.js de-lint MegolmExportEncryption + test 2017-06-08 14:29:53 +01:00
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