Skip to content

frontend/tests: enzyme dead → react-testing-library #7758

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

Open
haraldschilly opened this issue Aug 15, 2024 · 0 comments
Open

frontend/tests: enzyme dead → react-testing-library #7758

haraldschilly opened this issue Aug 15, 2024 · 0 comments

Comments

@haraldschilly
Copy link
Contributor

I wanted to add tests for some frontend code, and well, I think there are no working tests right now. I'll tweak this a bit in my i18n branch, but after all, we should clarify their status and update them. There is no "enzyme" package for react 18 any more. Instead, I think the way forward is react-testing-library.

These are the files I'm referring to:

...src/packages/frontend$ git ls-files '**/*.test.tsx'

components/A.test.tsx
jupyter/output-messages/__test__/ansi.test.tsx
jupyter/output-messages/__test__/javascript.test.tsx
jupyter/output-messages/__test__/more-output.test.tsx
jupyter/output-messages/__test__/stderr.test.tsx
jupyter/output-messages/__test__/stdout.test.tsx
jupyter/output-messages/__test__/text-plain.test.tsx
jupyter/output-messages/__test__/untrustred-javascript.test.tsx
misc/__test__/local-storage.test.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants