mocha --retries 3

This commit is contained in:
lilnasy 2023-10-09 17:43:33 +00:00
parent 90d70eb7c4
commit 9d19f4bf55
No known key found for this signature in database
GPG key ID: B09B8AE8D3751F1F
14 changed files with 14 additions and 14 deletions

View file

@ -24,7 +24,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000"
"test": "mocha --exit --retries 3 --timeout 20000"
},
"devDependencies": {
"@types/chai": "^4.3.5",

View file

@ -114,7 +114,7 @@
"postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"",
"test:unit": "mocha --exit --timeout 30000 ./test/units/**/*.test.js",
"test:unit:match": "mocha --exit --timeout 30000 ./test/units/**/*.test.js -g",
"test": "pnpm run test:unit && mocha --exit --timeout 30000 --ignore **/lit-element.test.js && mocha --timeout 30000 **/lit-element.test.js",
"test": "pnpm run test:unit && mocha --exit --timeout 30000 --retries 3 --ignore **/lit-element.test.js && mocha --timeout 30000 **/lit-element.test.js",
"test:match": "mocha --timeout 30000 -g",
"test:e2e": "playwright test",
"test:e2e:match": "playwright test -g"

View file

@ -22,7 +22,7 @@
"build": "astro-scripts build \"src/index.ts\" --bundle && tsc",
"build:ci": "astro-scripts build \"src/index.ts\" --bundle",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000 --parallel"
"test": "mocha --exit --retries 3 --timeout 20000 --parallel"
},
"files": [
"dist",

View file

@ -30,7 +30,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 30000 test/",
"test": "mocha --exit --retries 3 --timeout 30000 test/",
"test:match": "mocha --exit --timeout 30000 -g"
},
"dependencies": {

View file

@ -39,7 +39,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha"
"test": "mocha --exit --retries 3"
},
"dependencies": {
"@lit-labs/ssr": "^3.1.5",

View file

@ -59,7 +59,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000",
"test": "mocha --exit --retries 3 --timeout 20000",
"test:match": "mocha --timeout 20000 -g"
},
"dependencies": {

View file

@ -30,7 +30,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000",
"test": "mocha --exit --retries 3 --timeout 20000",
"test:match": "mocha --timeout 20000 -g"
},
"dependencies": {

View file

@ -30,7 +30,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000 test/"
"test": "mocha --exit --retries 3 --timeout 20000 test/"
},
"dependencies": {
"send": "^0.18.0",

View file

@ -30,7 +30,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --timeout 20000"
"test": "mocha --exit --retries 3 --timeout 20000"
},
"dependencies": {
"sitemap": "^7.1.1",

View file

@ -48,7 +48,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000 --file \"./test/setup.js\" test/ --ignore test/hosted",
"test": "mocha --exit --retries 3 --timeout 20000 --file \"./test/setup.js\" test/ --ignore test/hosted",
"test:hosted": "mocha --exit --timeout 30000 test/hosted"
},
"dependencies": {

View file

@ -37,7 +37,7 @@
"build": "astro-scripts build \"src/index.ts\" && astro-scripts build \"src/editor.cts\" --force-cjs --no-clean-dist && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\" && astro-scripts build \"src/editor.cts\" --force-cjs --no-clean-dist",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --timeout 20000"
"test": "mocha --exit --retries 3 --timeout 20000"
},
"dependencies": {
"@vitejs/plugin-vue": "^4.3.3",

View file

@ -25,7 +25,7 @@
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"postbuild": "astro-scripts copy \"src/**/*.js\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000"
"test": "mocha --exit --retries 3 --timeout 20000"
},
"peerDependencies": {
"astro": "workspace:^3.2.3"

View file

@ -23,7 +23,7 @@
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000 test/"
"test": "mocha --exit --retries 3 --timeout 20000 test/"
},
"files": [
"dist"

View file

@ -25,7 +25,7 @@
"build:ci": "astro-scripts build \"src/**/*.ts\"",
"postbuild": "astro-scripts copy \"src/**/*.js\"",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "mocha --exit --timeout 20000"
"test": "mocha --exit --retries 3 --timeout 20000"
},
"devDependencies": {
"@types/chai": "^4.3.5",