Travis Ralston
b8092cd00b
Make the tests pass
2020-01-23 20:41:52 -07:00
Bruno Windels
e5c65d53f8
set transaction_id for remote echos in TestClient
...
as InRoomChannel looks at this to decide whether an event is
a remote echo (and to pass it to the verifier or not)
2020-01-20 17:54:26 +01:00
Bruno Windels
c12a3b6610
more fixup: make sure remote echo doesn't arrive earlier for TestClient
2020-01-20 17:35:44 +01:00
Bruno Windels
77d0a76186
fixup: another timeout
2020-01-20 14:52:34 +01:00
Bruno Windels
e51ba795f3
to make this work while using fake timers, don't use setTimeout
...
but instead use Promise.resolved() as then always runs in the next tick.
2020-01-20 13:56:39 +01:00
Travis Ralston
034b8db070
Convert tests to ES6
...
The earlier commit, d3ce0cb82f
, has most of the juicy details on this. In addition to d3ce's changes, we also:
* Use `TestClient` in many integration tests due to subtle behaviour changes in imports when switching to ES6. Namely the behaviour where setting the request function is less reliable in the way we did it, but `TestClient` is very reliable.
* We now use the Olm loader more often to avoid having to maintain so much duplicate code. This makes the imports slightly easier to read.
2019-12-17 15:16:37 -07:00
Bruno Windels
df6ebf83b4
fix tests
2019-12-09 17:45:01 +01:00
David Baker
a98e6964ef
Missed bits of callback renaming
2019-11-11 16:51:49 +00:00
David Baker
12627022d1
Convert sas verification test to callbacks
2019-11-07 15:18:16 +00:00
David Baker
49588da73d
Fix more tests
2019-10-29 19:39:31 +00:00
David Baker
3e2d845342
Merge remote-tracking branch 'origin/develop' into dbkr/cross_signing
2019-10-28 16:47:16 +00:00
David Baker
8cad116dd7
Make tests pass
...
* Pass the http backend out of makeTestClients so we can tell it
to expect queries and flush requests out
* Change colons to dots in the key events
2019-10-28 14:56:35 +00:00
Hubert Chathi
d8e8dddd25
initial implementation of verification in DMs
2019-10-08 15:44:51 -04:00
Hubert Chathi
6a77df7b41
Merge branch 'develop' into dbkr/cross_signing
2019-06-05 12:48:17 -04:00
Hubert Chathi
4a9a1b40e9
initial implementation of secret storage and sharing
2019-06-04 15:04:45 -04:00
J. Ryan Stinnett
761806c678
Add support for class properties
...
This enables compiler and linting features to allow class properties like we do
in the React SDK.
2019-05-13 13:52:37 +01:00
Hubert Chathi
244e1b84f7
Initial implementation of key verification
2019-01-23 13:34:25 -05:00