-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Core: Fix default story sort #9482
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/storybook/monorepo/evect52u8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM -- were there no other points where we used dumpStoryBook
in this test file?
@tmeasday correct. see my comment above in the PR description. |
Thanks! |
Issue: #9477
What I did
Fix the story sorting logic, which I broke in #9424
How to test
See updated test cases.
@tmeasday NOTE: there were no other
dumpStorybook()
tests instory_store.test.ts
. there are a bunch ofgetStorybook()
tests inclient_api.test.ts
but it's pretty messy to update those tests. i propose we add tests tostory_store
if needed.