Travis Ralston
54f3288dea
Fix imports for tests
...
This doesn't fix the fact that someone called it "peg".
6 years ago
Michael Telatynski
409a111b02
wait additional tick
6 years ago
Michael Telatynski
ab3fb6581b
Down to 7 test failures
6 years ago
Michael Telatynski
0041dae664
26 test failures to go :D
6 years ago
Michael Telatynski
6ad31fe023
30 test failures to go :D
6 years ago
Michael Telatynski
ffa2ac172c
delint
6 years ago
Michael Telatynski
18f81d80db
Initial jest stuff. Blocked on Babel 7
6 years ago
Michael Telatynski
a63fbbf2db
Add tests
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
6 years ago
Travis Ralston
0862ad029d
Fix permalinks test
7 years ago
Travis Ralston
fc66e69c02
Rename RoomPermalinkCreator -> Permalinks due to scope
...
The file handles more than just a RoomPermalinkCreator, so we should name it accordingly.
7 years ago
Travis Ralston
64aa6695f5
Move matrix-to.js to utils/permalinks/RoomPermalinkCreator
...
Just a little bit of refactoring to make the feature of custom prefixes a bit easier.
7 years ago
Richard van der Hoff
b16e652acc
rewrite MegolmExportEncryption using async/await
...
... to make it easier to add exception handling
9 years ago
Richard van der Hoff
d9bc8ebc53
de-lint MegolmExportEncryption + test
9 years ago
David Baker
ba8e37a84e
Don't include src in the test resolve root
...
Don't include src in resolve root for the karma test, as otherwise
modules from react sdk get pulled in instead of npm libraries like
'extend' which breaks everything in really subtle ways.
9 years ago
Richard van der Hoff
c5f447260a
Megolm import: Fix handling of short files
...
Make sure we throw a sensible error when the body of the data is too short.
9 years ago
Richard van der Hoff
fdc213cbb8
Megolm export: fix test
9 years ago
Richard van der Hoff
31df78f946
Use text-encoding-utf-8 as a TextEncoder polyfill
...
Somebody else seems to have done a good job of polyfilling TextEncoder, so
let's use that.
9 years ago
Richard van der Hoff
e37bf6b7be
Skip crypto tests on PhantomJS
9 years ago
Richard van der Hoff
f8e56778ea
Encryption and decryption for megolm backups
9 years ago
Richard van der Hoff
1d5d44d63d
TextEncoder polyfill
...
Apparently Safari doesn't sport a TextEncoder, so here's a polyfill for it.
9 years ago