Skip to content

Commit

Permalink
fix(deps): upgrade dom-testing-library (#14)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
gnapse authored and Kent C. Dodds committed Aug 23, 2018
1 parent d105706 commit 557591b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ const jestConfig = require('kcd-scripts/jest')

module.exports = Object.assign(jestConfig, {
testEnvironment: 'jest-environment-jsdom',
testURL: 'http://localhost/',
})
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
"license": "MIT",
"dependencies": {
"dom-testing-library": "^2.0.0"
"dom-testing-library": "^3.4.0"
},
"devDependencies": {
"cypress": "^3.0.1",
"kcd-scripts": "^0.37.0",
"npm-run-all": "^4.1.2",
"serve": "^7.2.0",
"serve": "^10.0.0",
"wait-port": "^0.2.2"
},
"peerDependencies": {
Expand Down

0 comments on commit 557591b

Please sign in to comment.