chore: update test command (#10576)

This commit is contained in:
jrandolf 2023-07-18 18:43:22 +02:00 committed by GitHub
parent 88439f913e
commit b03d7bb9f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@
"test:firefox:headful": "wireit", "test:firefox:headful": "wireit",
"test:firefox:headless": "wireit", "test:firefox:headless": "wireit",
"test:firefox": "wireit", "test:firefox": "wireit",
"test": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node tools/mochaRunner/lib/main.js --min-tests 1003", "test": "wireit",
"validate-licenses": "tsx tools/third_party/validate-licenses.ts", "validate-licenses": "tsx tools/third_party/validate-licenses.ts",
"unit": "npm run unit --workspaces --if-present" "unit": "npm run unit --workspaces --if-present"
}, },
@ -58,52 +58,28 @@
] ]
}, },
"test:chrome:headful": { "test:chrome:headful": {
"command": "npm test -- --test-suite chrome-headful", "command": "npm test -- --test-suite chrome-headful"
"dependencies": [
"./test:build"
]
}, },
"test:chrome:headless": { "test:chrome:headless": {
"command": "npm test -- --test-suite chrome-headless", "command": "npm test -- --test-suite chrome-headless"
"dependencies": [
"./test:build"
]
}, },
"test:chrome:new-headless": { "test:chrome:new-headless": {
"command": "npm test -- --test-suite chrome-new-headless", "command": "npm test -- --test-suite chrome-new-headless"
"dependencies": [
"./test:build"
]
}, },
"test:chrome:bidi": { "test:chrome:bidi": {
"command": "npm test -- --test-suite chrome-bidi", "command": "npm test -- --test-suite chrome-bidi"
"dependencies": [
"./test:build"
]
}, },
"test:chrome:bidi-local": { "test:chrome:bidi-local": {
"command": "PUPPETEER_EXECUTABLE_PATH=$(node tools/download_chrome_bidi.mjs ~/.cache/puppeteer/chrome-canary --shell) npm test -- --test-suite chrome-bidi", "command": "PUPPETEER_EXECUTABLE_PATH=$(node tools/download_chrome_bidi.mjs ~/.cache/puppeteer/chrome-canary --shell) npm test -- --test-suite chrome-bidi"
"dependencies": [
"./test:build"
]
}, },
"test:firefox:headful": { "test:firefox:headful": {
"command": "npm test -- --test-suite firefox-headful", "command": "npm test -- --test-suite firefox-headful"
"dependencies": [
"./test:build"
]
}, },
"test:firefox:headless": { "test:firefox:headless": {
"command": "npm test -- --test-suite firefox-headless", "command": "npm test -- --test-suite firefox-headless"
"dependencies": [
"./test:build"
]
}, },
"test:firefox:bidi": { "test:firefox:bidi": {
"command": "npm test -- --test-suite firefox-bidi", "command": "npm test -- --test-suite firefox-bidi"
"dependencies": [
"./test:build"
]
}, },
"test:chrome": { "test:chrome": {
"dependencies": [ "dependencies": [
@ -119,6 +95,12 @@
"test:firefox:headless", "test:firefox:headless",
"test:firefox:bidi" "test:firefox:bidi"
] ]
},
"test": {
"command": "cross-env PUPPETEER_DEFERRED_PROMISE_DEBUG_TIMEOUT=20000 node tools/mochaRunner/lib/main.js --min-tests 1003",
"dependencies": [
"./test:build"
]
} }
}, },
"devDependencies": { "devDependencies": {