summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stories/mr_widget_states_story.js20
1 files changed, 12 insertions, 8 deletions
diff --git a/stories/mr_widget_states_story.js b/stories/mr_widget_states_story.js
index 73f51a6dd71..9117c2ad732 100644
--- a/stories/mr_widget_states_story.js
+++ b/stories/mr_widget_states_story.js
@@ -103,9 +103,11 @@ makeStories({
{
title: 'default',
props: {
- closedBy: author,
- closedAt: 'a while ago',
- updatedAt: '3 mins ago',
+ metrics: {
+ closedBy: author,
+ closedAt: 'a while ago',
+ updatedAt: '3 mins ago',
+ },
targetBranch: 'master',
},
},
@@ -186,11 +188,13 @@ const mergedProps = {
sourceBranchRemoved: true,
updatedAt: '',
targetBranch: 'foo',
- mergedAt: 'some time ago',
- mergedBy: {
- webUrl: 'http://foo.bar',
- avatarUrl: 'http://gravatar.com/foo',
- name: 'fatihacet',
+ metrics: {
+ mergedAt: 'some time ago',
+ mergedBy: {
+ webUrl: 'http://foo.bar',
+ avatarUrl: 'http://gravatar.com/foo',
+ name: 'fatihacet',
+ },
},
};