Skip to content

Commit d268327

Browse files
committed
chore: update all deps
1 parent 03bea9f commit d268327

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
},
4949
"devDependencies": {
5050
"@testing-library/jest-dom": "^5.11.6",
51-
"@types/react-dom": "^16.9.9",
51+
"@types/react-dom": "^17.0.0",
5252
"dotenv-cli": "^4.0.0",
53-
"dtslint": "4.0.5",
54-
"kcd-scripts": "^7.0.3",
53+
"dtslint": "4.0.6",
54+
"kcd-scripts": "^7.4.1",
5555
"npm-run-all": "^4.1.5",
5656
"react": "^17.0.1",
5757
"react-dom": "^17.0.1",
5858
"rimraf": "^3.0.2",
59-
"typescript": "^4.0.5"
59+
"typescript": "^4.1.2"
6060
},
6161
"peerDependencies": {
6262
"react": "*",

src/__tests__/rerender.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ test('hydrate will not update props until next render', () => {
2323
hydrate: true,
2424
})
2525

26-
expect(initialInputElement.value).toBe(firstValue)
26+
expect(initialInputElement).toHaveValue(firstValue)
2727

2828
const secondValue = 'goodbye'
2929
rerender(<input value={secondValue} onChange={() => null} />)
30-
expect(initialInputElement.value).toBe(secondValue)
30+
expect(initialInputElement).toHaveValue(secondValue)
3131
})

0 commit comments

Comments
 (0)