Closed Morgantheplant closed 4 years ago
added @/preset-typescript
to root bc I was failing when ran from root (not from the ray-product directory). Then it was failing bc of scss import error so I added identity-obj-proxy
to root as well. Tried removing it from the ray-product directory but that would fail locally, so added it back in there.
and the CI issue is because when you're referencing @wework/ray-product-react
in the test it isn't built yet.
https://github.com/wework/ray/blob/master/packages/product-react/package.json#L5
closing in favor of https://github.com/wework/ray/pull/234
https://jira.weworkers.io/browse/WEB-754
Moves the Container, Grid, and Cell over from core-components.
I also updated the jest config in ray product-react to also check
.tsx
,.ts
, and.jsx
extensions. It looks like the tests weren't running on the tsx files.Packages added: enzyme-to-json - for snapshots to run similar to core-components identity-obj-proxy - for stubbing out css modules in tests
The code here was mostly untouched except for swapping out
classnames
package forclsx