Skip to content

Commit fdad348

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

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"setup": "npm install && npm run validate -s",
1919
"test": "kcd-scripts test",
2020
"test:update": "npm test -- --updateSnapshot --coverage",
21-
"typecheck": "dtslint ./types/",
21+
"typecheck": "kcd-scripts typecheck --build types",
2222
"validate": "kcd-scripts validate"
2323
},
2424
"files": [
@@ -48,15 +48,14 @@
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+
"kcd-scripts": "^7.5.1",
5554
"npm-run-all": "^4.1.5",
5655
"react": "^17.0.1",
5756
"react-dom": "^17.0.1",
5857
"rimraf": "^3.0.2",
59-
"typescript": "^4.0.5"
58+
"typescript": "^4.1.2"
6059
},
6160
"peerDependencies": {
6261
"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
})

types/tslint.json

-9
This file was deleted.

0 commit comments

Comments
 (0)