Browse Source

feat(nx): run ui test

pull/6337/head
KenTandrian 1 month ago
parent
commit
0a461d3c4f
  1. 3
      package.json

3
package.json

@ -43,9 +43,10 @@
"start:production": "npm run database:migrate && npm run database:seed && node main", "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:server": "nx run api:copy-assets && nx run api:serve --watch",
"start:storybook": "nx run ui:storybook", "start:storybook": "nx run ui:storybook",
"test": "npm run test:api && npm run test:common", "test": "npm run test:api && npm run test:common && npm run test:ui",
"test:api": "npx dotenv-cli -e .env.example -- nx test api", "test:api": "npx dotenv-cli -e .env.example -- nx test api",
"test:common": "npx dotenv-cli -e .env.example -- nx test common", "test:common": "npx dotenv-cli -e .env.example -- nx test common",
"test:ui": "npx dotenv-cli -e .env.example -- nx test ui",
"test:single": "nx run api:test --test-file object.helper.spec.ts", "test:single": "nx run api:test --test-file object.helper.spec.ts",
"ts-node": "ts-node", "ts-node": "ts-node",
"update": "nx migrate latest", "update": "nx migrate latest",

Loading…
Cancel
Save