Skip to content

Commit

Permalink
Merge pull request #1 from OpenSourceRaidGuild/jacobmgevans
Browse files Browse the repository at this point in the history
Init react testing library
  • Loading branch information
JacobMGEvans authored Jun 8, 2021
2 parents da7cbc0 + 818faff commit f54fca4
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 4 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
"@babel/preset-env": "^7.5.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@testing-library/jest-dom": "^5.13.0",
"@testing-library/react": "^11.2.7",
"@types/enzyme": "^3.10.1",
"@types/jest": "^24.0.15",
"@types/prop-types": "^15.7.1",
Expand Down
6 changes: 4 additions & 2 deletions tests/setup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import "@testing-library/jest-dom";

import { configure } from "enzyme";
import Adapter from "enzyme-adapter-react-16";

configure({ adapter: new Adapter() });
Loading

0 comments on commit f54fca4

Please sign in to comment.