|
12 | 12 | "ci": "npm run ci:build && npm run ci:test && npm run ci:docs", |
13 | 13 | "ci:build": "npm run clean && npm ci && npm run build && npm run lint:code", |
14 | 14 | "ci:docs": "npm run clean:docs && npm ci && ( cd docs && npm ci ) && npm run build:docs", |
15 | | - "ci:test": "TZ=Etc/UTC jest -i --ci --coverage", |
| 15 | + "ci:test": "TZ=Etc/UTC jest --runInBand -i --ci --coverage", |
16 | 16 | "clean": "rm -rf build docs/build", |
17 | 17 | "clean:docs": "rm -rf docs/build", |
18 | 18 | "clean:examples": "scripts/clasp.sh examples clean", |
|
65 | 65 | "secrets:sync": "scripts/github-secrets.sh sync all", |
66 | 66 | "sonar:local": "npx sonar-scanner -Dsonar.branch.name=local -Dsonar.branch.target=main -Dsonar.projectVersion=''", |
67 | 67 | "start:docs": "npm run build:docs && cd docs && npm start", |
68 | | - "test": "TZ=Etc/UTC npx jest --reporters=summary --silent", |
69 | | - "test:examples": "TZ=Etc/UTC npx jest --reporters=summary --silent --testPathPattern src/examples", |
| 68 | + "test": "TZ=Etc/UTC npx jest --runInBand --reporters=summary --silent", |
| 69 | + "test:profile-devtools": "node --inspect-brk ./node_modules/.bin/jest --runInBand", |
| 70 | + "test:profile-jest": "npx jest --runInBand --json --outputFile=test-results.json", |
| 71 | + "test:profile-nodejs": "node --prof ./node_modules/.bin/jest --runInBand && node --prof-process isolate-*.log > profile.txt", |
| 72 | + "test:examples": "TZ=Etc/UTC npx jest --runInBand --reporters=summary --silent --testPathPattern src/examples", |
70 | 73 | "test:verbose": "TZ=Etc/UTC npx jest --detectOpenHandles --reporters='default' --runInBand --verbose", |
71 | 74 | "update": "npm run update:examples && npm run update:parser && npm run update:schema && npm run update:docs && npm run update:contributors", |
72 | 75 | "update:contributors": "npx all-contributors generate", |
|
0 commit comments