Storybook Testrunner Example Run $ pnpm install && pnpm storybook and in a separate shell $ pnpm test-storybook. This works. But TypeScript doesn't know toBeInTheDocument.