mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
Install and configure required packages for HTTP testing
Two new dev dependencies were added: - supertest package to perform HTTP testing - @babel/plugin-transform-runtime Configured jest to so it is able load files from server directory
This commit is contained in:
13
package.json
13
package.json
@@ -33,18 +33,21 @@
|
||||
"jest": {
|
||||
"modulePaths": [
|
||||
"mode_modules",
|
||||
"shared"
|
||||
]
|
||||
"shared",
|
||||
"server"
|
||||
]
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
"@babel/preset-env",
|
||||
"@babel/preset-react"
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-runtime"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.16.7",
|
||||
"@babel/plugin-transform-runtime": "^7.16.8",
|
||||
"@babel/preset-env": "^7.16.8",
|
||||
"@babel/preset-react": "^7.16.7",
|
||||
"body-parser": "^1.19.1",
|
||||
@@ -80,8 +83,10 @@
|
||||
"vitreum": "git+https://git@github.com/calculuschild/vitreum.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-transform-runtime": "^7.16.10",
|
||||
"eslint": "^8.7.0",
|
||||
"eslint-plugin-react": "^7.28.0",
|
||||
"jest": "^27.4.5"
|
||||
"jest": "^27.4.5",
|
||||
"supertest": "^6.2.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user