Browse Source
Task/enable UI test (#6345)
* Create script for ui test and implement parallel test
pull/6337/head^2
Kenrick Tandrian
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
package.json
|
|
|
@ -43,10 +43,11 @@ |
|
|
|
"start:production": "npm run database:migrate && npm run database:seed && node main", |
|
|
|
"start:server": "nx run api:copy-assets && nx run api:serve --watch", |
|
|
|
"start:storybook": "nx run ui:storybook", |
|
|
|
"test": "npm run test:api && npm run test:common", |
|
|
|
"test": "npx dotenv-cli -e .env.example -- npx nx run-many --target=test --all --parallel=4", |
|
|
|
"test:api": "npx dotenv-cli -e .env.example -- nx test api", |
|
|
|
"test:common": "npx dotenv-cli -e .env.example -- nx test common", |
|
|
|
"test:single": "nx run api:test --test-file object.helper.spec.ts", |
|
|
|
"test:ui": "npx dotenv-cli -e .env.example -- nx test ui", |
|
|
|
"ts-node": "ts-node", |
|
|
|
"update": "nx migrate latest", |
|
|
|
"watch:server": "nx run api:copy-assets && nx run api:build --watch", |
|
|
|
|