Skip to content

Commit

Permalink
fix: fireEvent import issue by importing latest @testing-library/dom (#…
Browse files Browse the repository at this point in the history
…40)

affects: @medly/create-app, @medly/create-component
  • Loading branch information
gmukul01 committed Aug 25, 2021
1 parent 3419f69 commit b78b46c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/app/template/common/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
"dist:analyze": "npm run dist -- --analyze"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint 'src/**/*.tsx' --fix",
"stylelint 'src/**/*.tsx' --fix"
]
"src/**/*.{ts,tsx}": ["eslint 'src/**/*.tsx' --fix", "stylelint 'src/**/*.tsx' --fix"]
},
"babel": {
"extends": "@medly/babel-config-react"
Expand Down Expand Up @@ -58,6 +55,7 @@
"@medly/typescript-config-react@latest",
"@medly/webpack-config@latest",
"@medly/jest-config-react@latest",
"@testing-library/dom@latest",
"@testing-library/react@latest",
"@types/react@latest",
"@types/react-dom@latest",
Expand Down
1 change: 1 addition & 0 deletions packages/app/template/stateManagers/redux/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"@medly/typescript-config-react@latest",
"@medly/webpack-config@latest",
"@medly/jest-config-react@latest",
"@testing-library/dom@latest",
"@testing-library/react@latest",
"@types/react@latest",
"@types/react-dom@latest",
Expand Down
1 change: 1 addition & 0 deletions packages/component/template/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"@storybook/addon-links@latest",
"@storybook/react@latest",
"@storybook/storybook-deployer@latest",
"@testing-library/dom@latest",
"@testing-library/react@latest",
"@types/react@latest",
"@types/react-dom@latest",
Expand Down

0 comments on commit b78b46c

Please sign in to comment.