Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook stories with @select #551

Closed
westandy-dcp opened this issue Jan 16, 2019 · 2 comments
Closed

Storybook stories with @select #551

westandy-dcp opened this issue Jan 16, 2019 · 2 comments

Comments

@westandy-dcp
Copy link

This is a Feature Request

What toolchain are you using for transpilation/bundling?

Storybook

Environment

NodeJS Version: 8.12.0
Typescript Version: 3.0.3
Angular Version: 7.0.0
@angular-redux/store version: 9.0.0
@angular/cli version: (if applicable) 7.1.3
OS: Mac OSX

Additional Notes:

Using Angular and Storybook has worked out well so far. However, I have cases where my component is dependent upon @select(). How can I tell the component in my story to use a mocked observable or data point?

@westandy-dcp
Copy link
Author

I added my question to StackOverflow... hopefully a solution exists? https://stackoverflow.com/questions/54317880/testing-angular-with-angular-redux-store-in-storybook

@westandy-dcp
Copy link
Author

I figured out a solution. Check out the SO link ^^^^^^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant