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
Because CSS modules are used for x-dash components, the built CSS class names are unpredictable, and so can't (easily) by used as selectors in unit tests, and this is quite limiting.
A couple of possible solutions:
Turn off class renaming in the build used by the unit tests
Support importing of the built css and accessing the generated class names (via classnames?) in the test files
Option 2 would get my vote.
The text was updated successfully, but these errors were encountered:
Because CSS modules are used for x-dash components, the built CSS class names are unpredictable, and so can't (easily) by used as selectors in unit tests, and this is quite limiting.
A couple of possible solutions:
classnames
?) in the test filesOption 2 would get my vote.
The text was updated successfully, but these errors were encountered: