Skip to content

Commit

Permalink
fix: document template async describe
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Apr 26, 2021
1 parent cb59397 commit ac42b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
describe(doc.title, () => {
stories.forEach(storyId => {
const story = store.stories[storyId];
describe(story.name, async () => {
describe(story.name, () => {
let rendered;
act(() => {
rendered = renderFn(story, doc);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (!renderedExamples) {
return;
}
renderedExamples.forEach(({ name, rendered}) => {
describe(name, async () => {
describe(name, () => {
it('snapshot', () => {
const { asFragment } = render(rendered);
expect(asFragment()).toMatchSnapshot();
Expand Down

0 comments on commit ac42b55

Please sign in to comment.