Closed ricmars closed 6 months ago
Right now the testing is pretty basic and just opens each story and check that no error is reported We should extend the functionality by added a couple of unit tests for each story using https://storybook.js.org/docs/writing-tests/stories-in-unit-tests
the unit test should switch some of the props and check the outcome - it should leverage the same mock and infrastructure used in the story already.
showing code coverage would be great -
This should be run in the pipeline on every merge - see existing github action
https://github.com/pegasystems/constellation-ui-gallery/pull/28
Right now the testing is pretty basic and just opens each story and check that no error is reported We should extend the functionality by added a couple of unit tests for each story using https://storybook.js.org/docs/writing-tests/stories-in-unit-tests
the unit test should switch some of the props and check the outcome - it should leverage the same mock and infrastructure used in the story already.
showing code coverage would be great -
This should be run in the pipeline on every merge - see existing github action