测试:mocha 基础文件

This commit is contained in:
liangtongchuan
2021-01-14 10:40:31 +08:00
parent 275890cdba
commit ab20a62531
5 changed files with 155 additions and 1 deletions

View File

@@ -11,21 +11,26 @@
"cov": "nyc mocha",
"ci": "yarn run test",
"gen-api-ref": "node ../../../node_modules/typedoc/bin/typedoc --mode file --hideGenerator --excludeExternals --ignoreCompilerErrors --out ../../../run/site/public/api-reference/pinus-loader lib/",
"local": "npm run build && cd dist && pinus start"
"local": "npm run build && cd dist && pinus start",
"jenkins": "npm run build && cd dist && pinus start -D"
},
"dependencies": {
"@typegoose/typegoose": "^7.3.5",
"@types/bluebird": "^3.5.19",
"@types/chai": "^4.2.14",
"@types/crc": "^3.4.0",
"@types/mocha": "^8.2.0",
"@types/mongoose": "^5.7.36",
"@types/node": "8.10.54",
"@types/redis": "^2.8.25",
"@types/underscore": "^1.10.24",
"bcrypt": "^5.0.0",
"bluebird": "^3.5.1",
"chai": "^4.2.0",
"crc": "^3.5.0",
"cross-env": "^7.0.3",
"local": "^0.3.3",
"mocha": "^8.2.1",
"moment": "^2.29.1",
"mongoose": "^5.10.4",
"mongoose-transactions": "^1.1.4",