aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2024-03-05 14:44:01 -0500
committerGitHub <noreply@github.com>2024-03-05 14:44:01 -0500
commit95a4c94b8131b737d8f160c582a4acfe2b65e0f8 (patch)
tree12f54464d114706be83a5d2742d95cc5ee966c2a /package.json
parent2b97b6bbcfc67c234b86d41451aac7cdd778e855 (diff)
downloadjquery-95a4c94b8131b737d8f160c582a4acfe2b65e0f8.tar.gz
jquery-95a4c94b8131b737d8f160c582a4acfe2b65e0f8.zip
Tests: reuse browser workers in BrowserStack tests (#5428)
- reuse BrowserStack workers. - add support for "latest" and "latest-1" in browser version filters - add support for specifying non-final browser versions, such as beta versions - more accurate eslint for files in test/runner - switched `--no-isolate` command flag to `--isolate`. Now that browser instances are shared, it made more sense to me to default to no isolation unless specified. This turned out to be cleaner because the only place we isolate is in browserstack.yml. - fixed an issue with retries where it wasn't always waiting for the retried test run - enable strict mode in test yargs command
Diffstat (limited to 'package.json')
-rw-r--r--package.json16
1 files changed, 8 insertions, 8 deletions
diff --git a/package.json b/package.json
index c976f42ca..e27ea8a40 100644
--- a/package.json
+++ b/package.json
@@ -54,20 +54,20 @@
"pretest": "npm run qunit-fixture && npm run babel:tests && npm run npmcopy",
"qunit-fixture": "node build/tasks/qunit-fixture.js",
"start": "node -e \"require('./build/tasks/build.js').buildDefaultFiles({ watch: true })\"",
- "test:browser": "npm run pretest && npm run build:main && npm run test:unit -- -b chrome -b firefox --no-isolate -h",
+ "test:browser": "npm run pretest && npm run build:main && npm run test:unit -- -b chrome -b firefox -h",
"test:browserless": "npm run pretest && npm run build:all && node build/tasks/node_smoke_tests.js && node build/tasks/promises_aplus_tests.js && npm run test:unit -- -b jsdom -m basic",
"test:jsdom": "npm run pretest && npm run build:main && npm run test:unit -- -b jsdom -m basic",
"test:node_smoke_tests": "npm run pretest && npm run build:all && node build/tasks/node_smoke_tests.js",
"test:promises_aplus": "npm run build:main && node build/tasks/promises_aplus_tests.js",
- "test:firefox": "npm run pretest && npm run build:main && npm run test:unit -- -v -b firefox --no-isolate -h",
- "test:safari": "npm run pretest && npm run build:main && npm run test:unit -- -b safari --no-isolate",
+ "test:firefox": "npm run pretest && npm run build:main && npm run test:unit -- -v -b firefox -h",
+ "test:safari": "npm run pretest && npm run build:main && npm run test:unit -- -b safari",
"test:server": "node test/runner/server.js",
- "test:esm": "npm run pretest && npm run build:main && npm run test:unit -- --esm --no-isolate -h",
- "test:no-deprecated": "npm run pretest && npm run build -- -e deprecated && npm run test:unit -- --no-isolate -h",
- "test:selector-native": "npm run pretest && npm run build -- -e selector && npm run test:unit -- --no-isolate -h",
- "test:slim": "npm run pretest && npm run build -- --slim && npm run test:unit -- --no-isolate -h",
+ "test:esm": "npm run pretest && npm run build:main && npm run test:unit -- --esm -h",
+ "test:no-deprecated": "npm run pretest && npm run build -- -e deprecated && npm run test:unit -- -h",
+ "test:selector-native": "npm run pretest && npm run build -- -e selector && npm run test:unit -- -h",
+ "test:slim": "npm run pretest && npm run build -- --slim && npm run test:unit -- -h",
"test:unit": "node test/runner/command.js",
- "test": "npm run build:all && npm run lint && npm run test:browserless && npm run test:browser && npm run test:esmodules && npm run test:slim && npm run test:no-deprecated && npm run test:selector-native"
+ "test": "npm run build:all && npm run lint && npm run test:browserless && npm run test:browser && npm run test:esm && npm run test:slim && npm run test:no-deprecated && npm run test:selector-native"
},
"homepage": "https://jquery.com",
"author": {