Skip to content

Commit

Permalink
feat: 🎸 add test mongo env
Browse files Browse the repository at this point in the history
  • Loading branch information
waynewyang committed Jan 2, 2024
1 parent 71aa445 commit 9a5faae
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test": "npm run test:setup:mongo;docker ps;jest",
"test:setup:mongo": "cd ./node_modules/@unipackage/testenv;npm run test:clean;npm run test:setup;cd -",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
Expand Down Expand Up @@ -41,6 +42,7 @@
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"@unipackage/testenv": "^0.2.0",
"@unipackage/utils": "^1.5.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1"
Expand Down

0 comments on commit 9a5faae

Please sign in to comment.