shopozor / services

Micro-services building up the Shopozor software.
6 stars 0 forks source link

Fix empty storybook snapshots #165

Closed zadigus closed 4 years ago

zadigus commented 4 years ago

Recap of our workflow

Prerequisites

Changes

I noticed that some of our storybook snapshots are empty. The empty snapshots are those explicitly wrapped inside <client-only> tags. I now have wrapped the whole application with those tags, as we are only interested in the generated static htmls.

How to use the feature

Double-check the jest snapshot tests. They are now complete, there is no empty snapshot anymore.