You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a monorepo project, all stories passed test-runner, and i have a file named Accordion.test.tsx ,It is a simple unit test, but now i run
pnpm exec nx run fortress:test-storybook --url http://localhost:53348/ --coverage
result is:
To Reproduce
// AccordionGroup.test.tsx
import { fireEvent, screen } from '@testing-library/react';
import { composeStory } from '@storybook/react';
import meta, { Basic as ValidFormStory } from './AccordionGroup.stories';
Describe the bug
In a monorepo project, all stories passed test-runner, and i have a file named Accordion.test.tsx ,It is a simple unit test, but now i run
pnpm exec nx run fortress:test-storybook --url http://localhost:53348/ --coverage
result is:
To Reproduce
// AccordionGroup.test.tsx
import { fireEvent, screen } from '@testing-library/react';
import { composeStory } from '@storybook/react';
import meta, { Basic as ValidFormStory } from './AccordionGroup.stories';
const ValidForm = composeStory(ValidFormStory, meta);
test('Validates form', async () => {
console.log('ValidForm', ValidForm);
});
System
Additional context
No response
The text was updated successfully, but these errors were encountered: