mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-05 00:28:47 +00:00
Split Sauce Labs JS unit tests into multiple parts for slow browsers
Sauce Labs has a timeout of 5 minutes (including emulator/browser startup time).
This commit is contained in:
@@ -3,8 +3,10 @@ describe('General', function () {
|
||||
require('./armor.js');
|
||||
require('./packet.js');
|
||||
require('./keyring.js');
|
||||
require('./signature.js');
|
||||
require('./key.js');
|
||||
describe('[Sauce Labs Group 1]', function() {
|
||||
require('./signature.js');
|
||||
require('./key.js');
|
||||
});
|
||||
require('./openpgp.js');
|
||||
require('./hkp.js');
|
||||
require('./wkd.js');
|
||||
|
||||
@@ -352,7 +352,7 @@ function withCompression(tests) {
|
||||
});
|
||||
}
|
||||
|
||||
describe('OpenPGP.js public api tests', function() {
|
||||
describe('[Sauce Labs Group 2] OpenPGP.js public api tests', function() {
|
||||
|
||||
let rsaGenStub;
|
||||
let rsaGenValue = openpgp.crypto.publicKey.rsa.generate(openpgp.util.getWebCryptoAll() ? 2048 : 512, "10001");
|
||||
|
||||
Reference in New Issue
Block a user