/storybook-storyshots-found-0-stories

Repo with minimal reproducible demo of the issue causing storyshots to not discover any stories.

Primary LanguageHTMLMIT LicenseMIT

How to run

yarn test

Produced result:

 FAIL  src/stoshots.test.ts
  ● Test suite failed to run

    storyshots found 0 stories

      1 | import testStorySnapshots from "@storybook/addon-storyshots";
      2 | 
    > 3 | testStorySnapshots();
        | ^

      at testStorySnapshots (node_modules/@storybook/addon-storyshots/dist/api/index.js:108:15)
      at Object.<anonymous> (src/stoshots.test.ts:3:1)