Browse Source

feat(nx): revert test changes

pull/6337/head
KenTandrian 1 month ago
parent
commit
aa052cd083
  1. 1
      libs/ui/jest.config.ts
  2. 3
      package.json

1
libs/ui/jest.config.ts

@ -1,3 +1,4 @@
/* eslint-disable */
export default { export default {
displayName: 'ui', displayName: 'ui',

3
package.json

@ -43,10 +43,9 @@
"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 && npm run test:ui", "test": "npm run test:api && npm run test:common",
"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