styled-components / jest-styled-components

🔧 💅 Jest utilities for Styled Components
MIT License
1.59k stars 145 forks source link

More diffs showing on unchanged snapshot lines #423

Open virtuoushub opened 1 year ago

virtuoushub commented 1 year ago

Came up while upgrading jest-styled-components | 7.0.8 -> 7.1.1

possibly related to #355 ( and in turn #419 ).

It seems as though what once were separate lines, became one.

e.g.

     .c1 button,
   - .c1 html input[type="button"],
   - .c1 input[type="reset"],
   - .c1 input[type="submit"] {
   + .c1 html input[type="button"],.c1 input[type="reset"],.c1 input[type="submi…
       -webkit-appearance: button;
       cursor: pointer;
       *overflow: visible;
     }

     .c1 html input[disabled] {
       cursor: default;
     }

   - .c1 input[type="checkbox"],
   - .c1 input[type="radio"] {
   + .c1 input[type="checkbox"],.c1 input[type="radio"] {
       box-sizing: border-box;
       padding: 0;
       *height: 13px;
       *width: 13px;