Reuse Storybook stories in Angular unit tests to avoid duplicating component scenarios and decorators.
@storybook/testing-angular provides utilities to seamlessly integrate Storybook stories into Angular unit tests, eliminating the need to redefine component scenarios and decorators. It composes args, decorators, and global configurations from stories, enabling developers to focus on writing tests rather than setup.
The library aims to bridge the gap between Storybook and testing workflows, promoting maintainability and consistency by treating stories as a single source of truth for component behavior.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.