feat: major refactor #19
Annotations
2 errors
lib/button.test.tsx > Button > renders a button:
lib/button.test.tsx#L17
Error: Snapshot `Button > renders a button 1` mismatched
- Expected
+ Received
<button
- class="button_buttonVariantClassNames_default__1sytq440 button_buttonClassName__1sytq445 layout_flexWrapVariants_nowrap__17vpgba3 layout_alignItemsVariants_center__17vpgba8 layout_justifyContentVariants_center__17vpgbak box_viewportStyleVariants_2__fg8qdbmg box_viewportStyleVariants_5__fg8qdben box_viewportStyleVariants_6__fg8qdbc1 box_flexDirectionVariants_row__fg8qdblt"
+ class="button_buttonVariantClassNames_default__1sytq440 button_buttonClassName__1sytq44p layout_flexWrapVariants_nowrap__17vpgba3 layout_alignItemsVariants_center__17vpgba8 layout_justifyContentVariants_center__17vpgbak box_viewportStyleVariants_2__fg8qdbmg box_viewportStyleVariants_5__fg8qdben box_viewportStyleVariants_6__fg8qdbc1 box_flexDirectionVariants_row__fg8qdblt"
type="button"
>
<span
- class="box_textAlignVariants_center__fg8qdbr _capSize-1_cb74ac"
+ class="box_textAlignVariants_center__fg8qdbr typography_capSizeVariantClassNames_1__16o63xj"
>
Click Me
</span>
</button>
❯ lib/button.test.tsx:17:40
|
test
Process completed with exit code 2.
|