Skip to content

Commit

Permalink
Update @testing-library dependencies
Browse files Browse the repository at this point in the history
This change enables the new API from testing-library/jest-dom#254
  • Loading branch information
darekkay committed Jun 3, 2020
1 parent 328e029 commit 852d9cf
Show file tree
Hide file tree
Showing 4 changed files with 1,953 additions and 2,098 deletions.
8 changes: 4 additions & 4 deletions app/package.json
Expand Up @@ -45,10 +45,10 @@
"@storybook/addons": "5.3.18",
"@storybook/preset-create-react-app": "2.1.1",
"@storybook/react": "5.3.18",
"@testing-library/jest-dom": "5.7.0",
"@testing-library/react": "10.0.4",
"@testing-library/jest-dom": "5.9.0",
"@testing-library/react": "10.0.6",
"@testing-library/react-hooks": "3.2.1",
"@testing-library/user-event": "10.3.2",
"@testing-library/user-event": "11.0.0",
"@types/classnames": "2.2.10",
"@types/jest": "25.2.1",
"@types/lodash": "4.14.149",
Expand All @@ -70,7 +70,7 @@
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-testing-library": "3.1.2",
"eslint-plugin-testing-library": "3.2.0",
"node-sass": "4.13.1",
"plop": "2.6.0",
"prettier": "1.19.1",
Expand Down
2 changes: 1 addition & 1 deletion app/src/components/forms/label/__tests__/index.test.tsx
Expand Up @@ -11,6 +11,6 @@ describe("<Label />", () => {

test("doesn't render a label if a text is missing", () => {
const { container } = render(<Label text={undefined} />);
expect(container).toBeEmpty();
expect(container).toBeEmptyDOMElement();
});
});
2 changes: 1 addition & 1 deletion app/src/components/widget-overlay/__tests__/index.test.tsx
Expand Up @@ -25,7 +25,7 @@ describe("<WidgetOverlay />", () => {
isDraggable: false,
isWidgetMenuVisible: false
});
expect(container).toBeEmpty();
expect(container).toBeEmptyDOMElement();
});

test("renders a draggable section", () => {
Expand Down

0 comments on commit 852d9cf

Please sign in to comment.