From 30f66c3e14c4eb67d0834b8afd27f63347fb9e0d Mon Sep 17 00:00:00 2001 From: Raphael Beer Date: Fri, 10 Apr 2020 00:21:31 +0200 Subject: [PATCH] Review: storybook --- .../features/FollowList/FollowList.story.js | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/webapp/components/features/FollowList/FollowList.story.js b/webapp/components/features/FollowList/FollowList.story.js index b7f093854..78d895fe9 100644 --- a/webapp/components/features/FollowList/FollowList.story.js +++ b/webapp/components/features/FollowList/FollowList.story.js @@ -53,7 +53,19 @@ storiesOf('FollowList', module) template: '', } }) - .add('with up to 7 connections', () => { + .add('with all connections loaded', () => { + return { + components: { FollowList }, + store: helpers.store, + data() { + return { user: lessThanSevenUser } + }, + + template: '', + } + }) + + .add('with more connections loadable', () => { return { components: { FollowList }, store: helpers.store, @@ -69,18 +81,7 @@ storiesOf('FollowList', module) template: '', } }) - - .add('with all connections', () => { - return { - components: { FollowList }, - store: helpers.store, - data() { - return { user: allConnectionsUser } - }, - template: '', - } - }) - .add('with a lot of connections', () => { + .add('with 1000 connections loaded', () => { return { components: { FollowList }, store: helpers.store,