diff options
author | 2024-02-13 22:25:30 +0800 | |
---|---|---|
committer | 2024-02-13 22:25:30 +0800 | |
commit | bd877d389a6ebdd995e253bcb9daccef52b2277f (patch) | |
tree | 6ba144df2d44572f5fef6aac477e563f939bde72 | |
parent | bcd9202228a7ce13d9932a16db9797de1d717aa3 (diff) | |
download | astro-bd877d389a6ebdd995e253bcb9daccef52b2277f.tar.gz astro-bd877d389a6ebdd995e253bcb9daccef52b2277f.tar.zst astro-bd877d389a6ebdd995e253bcb9daccef52b2277f.zip |
Fix mocha run (#10100)
-rw-r--r-- | packages/astro/package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/package.json b/packages/astro/package.json index b772cd516..62058b42f 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -107,8 +107,8 @@ "build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.{ts,js}\" && pnpm run postbuild", "dev": "astro-scripts dev --copy-wasm --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.{ts,js}\"", "postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"", - "test": "pnpm run test:node && mocha --exit --timeout 30000 --ignore **/*.nodetest.js --ignore **/lit-element.test.js && mocha --timeout 30000 **/lit-element.test.js --ignore **/*.nodetest.js", - "test:match": "mocha --timeout 30000 -g", + "test": "pnpm run test:node && mocha ./test/*.test.js --exit --timeout 30000 --ignore ./test/lit-element.test.js && mocha ./test/lit-element.test.js --timeout 30000", + "test:match": "mocha ./test/*.test.js --timeout 30000 -g", "test:e2e": "playwright test", "test:e2e:match": "playwright test -g", "test:node": "astro-scripts test \"test/**/*.nodetest.js\"" |