Closed GGonryun closed 5 years ago
Enzyme & Sass CSS is currently not implemented
yarn add enzyme-adapter-react-16 yarn add enzyme yarn add node-sass
Created a file called "enzyme.js" which configures the adapter for Enzyme & React.
New scripts:
prepared enzyme & scss: Tutorials: https://scotch.io/tutorials/testing-react-components-with-enzyme-and-jest
https://medium.com/selleo/testing-react-components-best-practices-2f77ac302d12
Jest API: https://jestjs.io/docs/en/api#beforeeachfn-timeout Enzyme API: https://airbnb.io/enzyme/docs/api/
Problem
Enzyme & Sass CSS is currently not implemented
Solution
yarn add enzyme-adapter-react-16 yarn add enzyme yarn add node-sass
Other changes (e.g. bug fixes, UI tweaks, small refactors)
Deploy Notes
Created a file called "enzyme.js" which configures the adapter for Enzyme & React.
New scripts:
prepared enzyme & scss: Tutorials: https://scotch.io/tutorials/testing-react-components-with-enzyme-and-jest
https://medium.com/selleo/testing-react-components-best-practices-2f77ac302d12
Jest API: https://jestjs.io/docs/en/api#beforeeachfn-timeout Enzyme API: https://airbnb.io/enzyme/docs/api/