Skip to content

Commit

Permalink
Merge pull request #2218 from travisbloom/feature-return-storyshots-test
Browse files Browse the repository at this point in the history
return the test in storyshots to respect promises.
  • Loading branch information
danielduan authored Nov 3, 2017
2 parents 56b9560 + 47eaec6 commit d6003f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/storyshots/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default function testStorySnapshots(options = {}) {

it(story.name, () => {
const context = { kind: group.kind, story: story.name };
options.test({ story, context });
return options.test({ story, context });
});
}
});
Expand Down

0 comments on commit d6003f8

Please sign in to comment.