Closed okaune closed 6 years ago
When running snapshot test, new classes cause tests to fail:
- Snapshot + Received <div - className="sc-bdVaJa cAlmdd" + className="sc-bdVaJa fUXkXi" > <div - className="sc-bdVaJa gTVLHs" + className="sc-bdVaJa bqmnDo" > I'm positioned left </div> <div - className="sc-bdVaJa gTVLHs" + className="sc-bdVaJa bqmnDo" > I'm positioned right </div> </div>
I know! This can be fixes by using https://github.com/styled-components/jest-styled-components for snapshots.
When running snapshot test, new classes cause tests to fail: