You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ismorphic-dompurify in my application which uses RTL and jest for tests setup. When I am trying to run the component's tests which uses DOMPurify.sanitize from the library the tests environment throws an error as shown in screen shot below.
Can you guys help me with this ?
Our package versions for notable libraries are as follows
"isomorphic-dompurify" - 0.19.0 (because we need to support some applications which use node version equal to 12
"jest" - 26.1.0,
"@testing-library/jest-dom": "^5.11.1",
"@testing-library/react": "^10.4.7",
"@testing-library/react-hooks": "^3.4.1",
The text was updated successfully, but these errors were encountered:
Hi @Daggron ,
Thanks for reporting this issue. And sorry for not being able to react on it promptly.
Could you please provide a piece of code in which you import the library? you import or require statement.
Whats the problem.
I am using ismorphic-dompurify in my application which uses RTL and jest for tests setup. When I am trying to run the component's tests which uses
DOMPurify.sanitize
from the library the tests environment throws an error as shown in screen shot below.Can you guys help me with this ?
Our package versions for notable libraries are as follows
"isomorphic-dompurify" - 0.19.0 (because we need to support some applications which use node version equal to 12
"jest" - 26.1.0,
"@testing-library/jest-dom": "^5.11.1",
"@testing-library/react": "^10.4.7",
"@testing-library/react-hooks": "^3.4.1",
The text was updated successfully, but these errors were encountered: