Skip crypto tests on PhantomJS
parent
d63f7e8359
commit
e37bf6b7be
|
@ -56,6 +56,13 @@ function stringToArray(s) {
|
|||
}
|
||||
|
||||
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() {
|
||||
testUtils.beforeEach(this);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue