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
Angular + Jest documentation recommends a solution which ends up setting window.CSS to null. This creates an issue when axe-core imports colorjs, which has a falsey check for window.CSS, but when null errors out.
Since ColorJS didn't accept our patch, we'll try to use patch-package to fix the issue ourselves. We'll need some tests to go along with that to confirm our solution continues to work after updating ColorJS.
patch-package should probably run in the build step, not as a post-install.
The text was updated successfully, but these errors were encountered:
Angular + Jest documentation recommends a solution which ends up setting
window.CSS
to null. This creates an issue when axe-core imports colorjs, which has a falsey check forwindow.CSS
, but whennull
errors out.Since ColorJS didn't accept our patch, we'll try to use patch-package to fix the issue ourselves. We'll need some tests to go along with that to confirm our solution continues to work after updating ColorJS.
patch-package should probably run in the build step, not as a post-install.
The text was updated successfully, but these errors were encountered: