Skip to content

Commit 557591b

Browse files
gnapseKent C. Dodds
authored and
Kent C. Dodds
committed
fix(deps): upgrade dom-testing-library (#14)
* Add missing jest config setting See https://stackoverflow.com/a/51554619/621809 * Upgrade dom-testing-library Also upgraded `serve` because it was giving a warning when running it.
1 parent d105706 commit 557591b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ const jestConfig = require('kcd-scripts/jest')
22

33
module.exports = Object.assign(jestConfig, {
44
testEnvironment: 'jest-environment-jsdom',
5+
testURL: 'http://localhost/',
56
})

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
4040
"license": "MIT",
4141
"dependencies": {
42-
"dom-testing-library": "^2.0.0"
42+
"dom-testing-library": "^3.4.0"
4343
},
4444
"devDependencies": {
4545
"cypress": "^3.0.1",
4646
"kcd-scripts": "^0.37.0",
4747
"npm-run-all": "^4.1.2",
48-
"serve": "^7.2.0",
48+
"serve": "^10.0.0",
4949
"wait-port": "^0.2.2"
5050
},
5151
"peerDependencies": {

0 commit comments

Comments
 (0)