0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

test: mocha should ignore *.nodetest.js files (#10088)

This commit is contained in:
Emanuele Stoppa 2024-02-12 13:03:22 +00:00 committed by GitHub
parent 2dbb6a3e08
commit 09a6273fe2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

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

View file

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