Merge branch 'bug/prevent_manifest_service_crashing' into 'main'
Improve health checks to prevent manifest service from crashing, add jest See merge request frontend/Infrastructure/manifest-service!1
No related branches found
No related tags found
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- index.js 2 additions, 70 deletionsindex.js
- jest.config.js 204 additions, 0 deletionsjest.config.js
- package.json 18 additions, 2 deletionspackage.json
- spec/.eslintrc.js 6 additions, 0 deletionsspec/.eslintrc.js
- spec/server_test.js 116 additions, 0 deletionsspec/server_test.js
- src/createApp.js 76 additions, 0 deletionssrc/createApp.js
- yarn.lock 4358 additions, 38 deletionsyarn.lock
jest.config.js
0 → 100644
... | ... | @@ -7,7 +7,8 @@ |
"lint": "eslint .", | ||
"start": "node index.js", | ||
"dev": "nodemon index.js | pino-pretty", | ||
"prepare": "husky install" | ||
"prepare": "husky install", | ||
"test": "jest --no-cache" | ||
}, | ||
"author": "Open-Xchange", | ||
"license": "CC-BY-NC-SA-2.5", | ||
... | ... | @@ -26,16 +27,31 @@ |
"swagger-ui-express": "^4.1.6" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"eslint": "^7.20.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jest": "^24.4.0", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"fetch-mock-jest": "^1.5.1", | ||
"husky": ">=6", | ||
"jest": "^27.1.0", | ||
"jest-extended": "^0.11.5", | ||
"jest-junit": "^12.2.0", | ||
"lint-staged": ">=10", | ||
"mock-fs": "^5.0.0", | ||
"nodemon": "^2.0.7", | ||
"pino-pretty": "^4.7.1" | ||
"pino-pretty": "^4.7.1", | ||
"superagent": "^6.1.0", | ||
"supertest": "^6.1.6" | ||
}, | ||
"lint-staged": { | ||
"*.js": "eslint --cache --fix" | ||
}, | ||
"jest-junit": { | ||
"classNameTemplate": "{classname}", | ||
"titleTemplate": "{title}", | ||
"outputDirectory": "output/" | ||
} | ||
} |
spec/.eslintrc.js
0 → 100644
spec/server_test.js
0 → 100644
src/createApp.js
0 → 100644
This diff is collapsed.
Please register or sign in to comment