Skip crypto tests on PhantomJS
This commit is contained in:
parent
d63f7e8359
commit
e37bf6b7be
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,13 @@ function stringToArray(s) {
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('MegolmExportEncryption', function() {
|
describe('MegolmExportEncryption', function() {
|
||||||
|
before(function() {
|
||||||
|
// if we don't have subtlecrypto, go home now
|
||||||
|
if (!window.crypto.subtle && !window.crypto.webkitSubtle) {
|
||||||
|
this.skip();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
testUtils.beforeEach(this);
|
testUtils.beforeEach(this);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue