Skip to content

Commit d6003f8

Browse files
authored
Merge pull request #2218 from travisbloom/feature-return-storyshots-test
return the test in storyshots to respect promises.
2 parents 56b9560 + 47eaec6 commit d6003f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/storyshots/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default function testStorySnapshots(options = {}) {
8888

8989
it(story.name, () => {
9090
const context = { kind: group.kind, story: story.name };
91-
options.test({ story, context });
91+
return options.test({ story, context });
9292
});
9393
}
9494
});

0 commit comments

Comments
 (0)