mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-24 15:12:31 +00:00
CI: Browserstack: test only iOS latest and min supported version (iOS 14)
Dropping Safari since Web Secure Sockets do not seem to work with the 'networkLogs' capability, which is in turn required for the HTTPS connection to work without insecure certs warnings.
This commit is contained in:
parent
4ddadd4f53
commit
59c809c943
@ -110,7 +110,7 @@
|
||||
"web-streams-polyfill": "^4.0.0"
|
||||
},
|
||||
"overrides": {
|
||||
"@web/dev-server-core": "npm:@openpgp/wtr-dev-server-core@0.7.3-patch.0"
|
||||
"@web/dev-server-core": "npm:@openpgp/wtr-dev-server-core@0.7.3-patch.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -18,12 +18,19 @@
|
||||
timeout: 30000
|
||||
});
|
||||
|
||||
await import('./lib/unittests-bundle.js');
|
||||
|
||||
// run the tests, and notify the test runner after finishing
|
||||
mocha.run(() => {
|
||||
sessionFinished();
|
||||
});
|
||||
// Safari 14 does not support top-level await
|
||||
import('./lib/unittests-bundle.js')
|
||||
.then(() => {
|
||||
// run the tests, and notify the test runner after finishing
|
||||
mocha.run(() => {
|
||||
sessionFinished();
|
||||
});
|
||||
})
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
// notify the test runner about errors
|
||||
sessionFailed(err);
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
// notify the test runner about errors
|
||||
|
Loading…
x
Reference in New Issue
Block a user