Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'joypixels') #67

Open
dep opened this issue Aug 8, 2024 · 1 comment
Open

Comments

@dep
Copy link

dep commented Aug 8, 2024

This has started showing up in our test runs. The only change is updating Node 20 to Node 22. Would you have any idea what would cause this?

 FAIL  src/components/CallDetailPage/Transcript/Comments/CommentsPane.test.tsx
  ● Test suite failed to run
    TypeError: Cannot read properties of undefined (reading 'joypixels')
      1 | import Clamp from "react-multiline-clamp";
      2 | import { CardContent, Typography, theme, Box, Icons } from "@invoca/titan-core";
    > 3 | import { shortnameToUnicode } from "emoji-toolkit";

We're using 8.0.0.

@dep
Copy link
Author

dep commented Aug 8, 2024

For what it's worth adding this to my jest config seemed to help though I am not sure why I didn't need it until today...

transformIgnorePatterns: [
  "/node_modules/(emoji-toolkit)",
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant