stonebk
stonebk
Using Jest [`testEnvironment`](https://jestjs.io/docs/configuration#testenvironment-string) `"node"` seemed to be one of the issues for me. When I change it back to the default `"jsdom"`, the issue went away.
[`[email protected]`](https://github.com/styled-components/jest-styled-components/releases/tag/v7.0.5) was just released and it appears to resolve a lot of the issues we were seeing with inconsistent classnames -- unsure if it has any effect on the original...
Looks like this was fixed in [`[email protected]`](https://github.com/styled-components/jest-styled-components/releases/tag/v7.0.5) 🎉
```jsx import PropTypes from 'prop-types'; import styled from 'styled-components'; import { InputMixin } from '../../mixins/components/InputMixin'; import { INPUT_SIZES } from '../../constants/INPUT'; import FormControl from '../../js/FormControl'; /** * An HTML text...
Dealing with other asset types is not something I have tried to tackle yet, but definitely on my list of things to think about. It's important to ask, what does...
Perhaps that is what the tool can eventually do for you, but I haven't thought about it to that extent yet.
Have you tried something like this? https://www.npmjs.com/package/babel-plugin-transform-assets Styleguidist should hot reload changes to components (maybe not to config). For debugging, I just use the --inspect-brk flag for node -- I...
We're currently replacing all our knobs with controls and was surprised to find that there is no button control. We use buttons to interact with component imperative APIs, for example...