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
Attempt to find the component name if running in an environment like jsdom (with access to document and basic DOM features). The component name is determined from the generated sc-component-id, which should be there if you are using the Babel plugin.
stylis-plugin-stylelint is no longer used. Instead, the stylint() function itself is used as a hook to determine what styles are being rendered. This should improve performance, since the plugin needed to spawn a process for every style.
Improved console output.
BREAKING CHANGES
Removed support for calling the toPassStylelint matcher directly. This is now used only internally. You can no longer make an assertion about the component styles rendered in a particular function – the whole test is always linted.