0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 22:02:46 +00:00

Merge pull request #1979 from AlexeySachkov/private/asachkov/testing-with-supertest

Add very basic infrastructure for HTTP testing
This commit is contained in:
Trevor Buckner
2022-01-26 23:42:36 -05:00
committed by GitHub
5 changed files with 368 additions and 18 deletions

View File

@@ -33,13 +33,17 @@
"jest": {
"modulePaths": [
"mode_modules",
"shared"
]
"shared",
"server"
]
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"dependencies": {
@@ -82,6 +86,7 @@
"devDependencies": {
"eslint": "^8.7.0",
"eslint-plugin-react": "^7.28.0",
"jest": "^27.4.5"
"jest": "^27.4.5",
"supertest": "^6.2.2"
}
}