Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(@testplane/storybook): remove tsx/jsx warning #64

Merged
merged 1 commit into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docs/visual-testing/with-storybook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ const meta: WithTestplane<Meta<typeof Button>> = {
export default meta;
```

<Admonition type="warning">
Storybook story files must have `.js` or `.ts` extension for this to work. Formats `jsx/tsx` are
not supported yet.
</Admonition>

## Plugin configuration

The plugin has a number of options for more flexible configuration. For example, to run tests on a Storybook published remotely on s3, the configuration will look as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,6 @@ const meta: WithTestplane<Meta<typeof Button>> = {
export default meta;
```

<Admonition type="warning">
При добавлении testplane-тестов расширение Ваших story-файлов должно быть `.js` или `.ts`.
Форматы jsx/tsx еще не поддержаны.
</Admonition>

## Параметры конфигурации плагина

Плагин имеет ряд опций для более гибкой настройки. Например, для запуска тестов на Storybook, опубликованном удаленно на `s3`, настройка будет выглядеть следующим образом:
Expand Down