vitest: run without NODE_ENV=test (???)

This commit is contained in:
Alex Gleason 2023-09-15 18:53:30 -05:00
parent f8392d22d3
commit 50736e025f
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -24,7 +24,7 @@
"audit:fix": "npx yarn-audit-fix", "audit:fix": "npx yarn-audit-fix",
"manage:translations": "npx ts-node ./scripts/translationRunner.ts", "manage:translations": "npx ts-node ./scripts/translationRunner.ts",
"i18n": "rm -rf build tmp && npx cross-env NODE_ENV=production ${npm_execpath} run build && ${npm_execpath} manage:translations en", "i18n": "rm -rf build tmp && npx cross-env NODE_ENV=production ${npm_execpath} run build && ${npm_execpath} manage:translations en",
"test": "npx cross-env NODE_ENV=test npx vitest", "test": "npx vitest",
"test:coverage": "${npm_execpath} run test --coverage", "test:coverage": "${npm_execpath} run test --coverage",
"test:all": "${npm_execpath} run test:coverage && ${npm_execpath} run lint", "test:all": "${npm_execpath} run test:coverage && ${npm_execpath} run lint",
"lint": "${npm_execpath} run lint:js && ${npm_execpath} run lint:sass", "lint": "${npm_execpath} run lint:js && ${npm_execpath} run lint:sass",