添加监控配置;增加 mocha 并行依赖

This commit is contained in:
liangtongchuan
2021-07-29 18:28:00 +08:00
parent b4dcfbbc21
commit ed65f7bb09
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -34,7 +34,6 @@
"crc": "^3.5.0", "crc": "^3.5.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"local": "^0.3.3", "local": "^0.3.3",
"mocha": "^8.2.1",
"moment": "^2.29.1", "moment": "^2.29.1",
"mongoose": "^5.10.4", "mongoose": "^5.10.4",
"mongoose-lean-getters": "^0.1.2", "mongoose-lean-getters": "^0.1.2",
@@ -57,6 +56,8 @@
}, },
"devDependencies": { "devDependencies": {
"@types/node-schedule": "^1.3.1", "@types/node-schedule": "^1.3.1",
"mocha": "^8.3.2",
"mocha-parallel-tests": "^2.3.0",
"tslint": "^5.9.1", "tslint": "^5.9.1",
"typescript": "^3.9.7" "typescript": "^3.9.7"
} }
+6
View File
@@ -40,6 +40,12 @@ export default (appInfo: EggAppInfo) => {
}, },
}; };
exports.xtransit = {
server: 'ws://127.0.0.1:9092',
appId: 3,
appSecret: 'a48ad5ca44e2d02cbd7f4c0326fa3101'
};
config.decodeParm = true; config.decodeParm = true;
config.static = { config.static = {