Skip to content

Commit

Permalink
chore: 🤖 update jest-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
Gpx committed Jul 20, 2019
1 parent 2228c61 commit 0810951
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 22 deletions.
2 changes: 1 addition & 1 deletion __tests__/react/click.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { render, cleanup } from "@testing-library/react";
import "jest-dom/extend-expect";
import "@testing-library/jest-dom/extend-expect";
import userEvent from "../../src";

afterEach(cleanup);
Expand Down
2 changes: 1 addition & 1 deletion __tests__/react/dblclick.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { render, cleanup } from "@testing-library/react";
import "jest-dom/extend-expect";
import "@testing-library/jest-dom/extend-expect";
import userEvent from "../../src";

afterEach(cleanup);
Expand Down
2 changes: 1 addition & 1 deletion __tests__/react/selectoptions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { render, cleanup, fireEvent } from "@testing-library/react";
import "jest-dom/extend-expect";
import "@testing-library/jest-dom/extend-expect";
import userEvent from "../../src";

afterEach(cleanup);
Expand Down
2 changes: 1 addition & 1 deletion __tests__/react/type.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { cleanup, render, wait } from "@testing-library/react";
import "jest-dom/extend-expect";
import "@testing-library/jest-dom/extend-expect";
import userEvent from "../../src";

afterEach(cleanup);
Expand Down
2 changes: 1 addition & 1 deletion __tests__/vue/click.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { render, cleanup } from "@testing-library/vue";
import "jest-dom/extend-expect";
import "@testing-library/jest-dom/extend-expect";
import userEvent from "../../src";

afterEach(cleanup);
Expand Down
75 changes: 59 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@babel/preset-env": "7.5.5",
"@babel/preset-react": "7.0.0",
"@testing-library/dom": "5.6.0",
"@testing-library/jest-dom": "4.0.0",
"@testing-library/react": "8.0.5",
"@testing-library/vue": "1.1.0",
"all-contributors-cli": "6.8.1",
Expand All @@ -45,7 +46,6 @@
"codecov": "3.5.0",
"husky": "3.0.1",
"jest": "24.8.0",
"jest-dom": "3.4.0",
"lint-staged": "8.1.7",
"prettier": "1.18.2",
"react": "16.8.6",
Expand Down

0 comments on commit 0810951

Please sign in to comment.