Skip to content

Commit 2fe177f

Browse files
committed
chore: update all deps and fix lint issues
1 parent 5b2640a commit 2fe177f

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@
3838
"types"
3939
],
4040
"dependencies": {
41-
"@babel/runtime": "^7.10.2",
42-
"aria-query": "^4.2.1",
41+
"@babel/runtime": "^7.10.3",
42+
"aria-query": "^4.2.2",
4343
"dom-accessibility-api": "^0.4.5",
4444
"pretty-format": "^25.5.0"
4545
},
4646
"devDependencies": {
47-
"@testing-library/jest-dom": "^5.9.0",
48-
"dtslint": "^3.6.9",
47+
"@testing-library/jest-dom": "^5.10.1",
48+
"dtslint": "^3.6.12",
4949
"jest-in-case": "^1.0.2",
5050
"jest-serializer-ansi": "^1.0.3",
5151
"jest-watch-select-projects": "^2.0.0",
5252
"jsdom": "^16.2.2",
53-
"kcd-scripts": "^6.2.0",
53+
"kcd-scripts": "^6.2.3",
5454
"typescript": "^3.9.5"
5555
},
5656
"eslintConfig": {

src/__tests__/element-queries.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -695,15 +695,13 @@ test('using jest helpers to check element attributes', () => {
695695
</button>
696696
`)
697697

698-
expect(getByTestId('ok-button')).toHaveAttribute('disabled')
698+
expect(getByTestId('ok-button')).toBeDisabled()
699699
expect(getByTestId('ok-button')).toHaveAttribute('type')
700700
expect(getByTestId('ok-button')).not.toHaveAttribute('class')
701701
expect(getByTestId('ok-button')).toHaveAttribute('type', 'submit')
702702
expect(getByTestId('ok-button')).not.toHaveAttribute('type', 'button')
703703

704-
expect(() =>
705-
expect(getByTestId('ok-button')).not.toHaveAttribute('disabled'),
706-
).toThrowError()
704+
expect(() => expect(getByTestId('ok-button')).toBeEnabled()).toThrowError()
707705
expect(() =>
708706
expect(getByTestId('ok-button')).not.toHaveAttribute('type'),
709707
).toThrowError()

0 commit comments

Comments
 (0)