Skip to content

Commit

Permalink
test: fix test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
faramozzayw committed Jul 5, 2021
1 parent 5aacce5 commit 36a43bf
Show file tree
Hide file tree
Showing 8 changed files with 3,584 additions and 4,631 deletions.
1 change: 0 additions & 1 deletion __test__/elements/ProgressBar.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import "@testing-library/jest-dom";
import { render } from "@testing-library/react";

Expand Down
1 change: 0 additions & 1 deletion __test__/elements/delete.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import "@testing-library/jest-dom";
import { render } from "@testing-library/react";

Expand Down
1 change: 0 additions & 1 deletion __test__/elements/icon.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import "@testing-library/jest-dom";
import { render } from "@testing-library/react";

Expand Down
1 change: 0 additions & 1 deletion __test__/elements/image.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import "@testing-library/jest-dom";
import { render } from "@testing-library/react";

Expand Down
1 change: 0 additions & 1 deletion __test__/elements/table.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react";
import "@testing-library/jest-dom";
import { render } from "@testing-library/react";

Expand Down
11 changes: 8 additions & 3 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
module.exports = {
presets: [
"@babel/preset-env",
"@babel/preset-typescript",
"@babel/preset-react",
["@babel/preset-env"],
["@babel/preset-typescript"],
[
"@babel/preset-react",
{
runtime: "automatic",
},
],
],
};
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
"classnames": "^2.2.6"
},
"peerDependencies": {
"react": "17.0.2",
"react-dom": "17.0.2"
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"sideEffects": false,
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.10",
"@babel/preset-react": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@fortawesome/fontawesome-free": "^5.15.1",
"@storybook/addon-actions": "^6.0.22",
"@storybook/addon-controls": "^6.0.22",
Expand All @@ -49,12 +49,12 @@
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.0.22",
"@storybook/react": "^6.0.22",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@types/classnames": "^2.2.10",
"@types/jest": "^26.0.19",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"babel-jest": "^26.6.3",
"babel-loader": "^8.1.0",
"bulma": "^0.9.2",
Expand Down
8,179 changes: 3,566 additions & 4,613 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 36a43bf

Please sign in to comment.