CI: test on iOS Safari 14 instead of 15 to have access to SubtleCrypto

SubtleCrypto not available in the latter due to stricter secure context checks
This commit is contained in:
larabr 2023-04-24 19:03:47 +02:00
parent b164190f6a
commit 5ae2846d97
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@
"prebrowsertest": "npm run build-test", "prebrowsertest": "npm run build-test",
"browsertest": "npm start -- -o test/unittests.html", "browsertest": "npm start -- -o test/unittests.html",
"test-browser": "karma start test/karma.conf.js", "test-browser": "karma start test/karma.conf.js",
"test-browserstack": "karma start test/karma.conf.js --browsers bs_safari_latest,bs_ios_15,bs_safari_13_1", "test-browserstack": "karma start test/karma.conf.js --browsers bs_safari_latest,bs_ios_14,bs_safari_13_1",
"coverage": "nyc npm test", "coverage": "nyc npm test",
"lint": "eslint .", "lint": "eslint .",
"docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME", "docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME",

View File

@ -109,12 +109,12 @@ module.exports = function(config) {
os: 'OS X', os: 'OS X',
os_version: 'Catalina' os_version: 'Catalina'
}, },
bs_ios_15: { bs_ios_14: {
base: 'BrowserStack', base: 'BrowserStack',
device: 'iPhone 13', device: 'iPhone 12',
real_mobile: true, real_mobile: true,
os: 'ios', os: 'ios',
os_version: '15' os_version: '14'
} }
}, },