diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-09-09 18:24:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 18:24:28 +0200 |
commit | 6d78c0768d9aa6ba213678724c89af69a1958df6 (patch) | |
tree | 9a4b65317ac5af425710f8d9496cf05bfcbca0d9 /package.json | |
parent | 4b7ecbad24463c875f03ef4c7a7d307a091f93fd (diff) | |
download | jquery-6d78c0768d9aa6ba213678724c89af69a1958df6.tar.gz jquery-6d78c0768d9aa6ba213678724c89af69a1958df6.zip |
Tests: Run tests in Edge in IE mode in GitHub Actions
While Edge in IE mode is not guaranteed to match IE 11 in every aspect,
in practice it generally does. Testing in this mode in GitHub Actions
will allow us to catch most IE-breaking issues at the PR level.
This change also adds missing npm scripts: `test:chrome`, `test:edge`
& `test:ie`.
Closes gh-5540
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index d12269f51..818435842 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,10 @@ "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:chrome": "npm run pretest && npm run build:main && npm run test:unit -- -v -b chrome -h", + "test:edge": "npm run pretest && npm run build:main && npm run test:unit -- -v -b edge -h", "test:firefox": "npm run pretest && npm run build:main && npm run test:unit -- -v -b firefox -h", + "test:ie": "npm run pretest && npm run build:main && npm run test:unit -- -v -b ie", "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 -h", |