Skip to content

Commit

Permalink
Visible ts-jest incompatibility with lungui
Browse files Browse the repository at this point in the history
  • Loading branch information
kopax-polyconseil authored Aug 1, 2022
1 parent d965d72 commit d05ba58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/guides/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ Here is a working example with `react-testing-library`_, using the `wrapper-prop
You could define a custom renderer to re-use this TestingProvider, see `react testing library - Custom Render`_

.. _`react testing library - Custom Render`: https://testing-library.com/docs/react-testing-library/setup#custom-render


Currently, there is no way to run unit tests using ts-jest because of @lingui/macro as we don't have a mock for it, nor a transformer. If you want to use lingui with ts-jest, please submit a PR.

0 comments on commit d05ba58

Please sign in to comment.