mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
Fix storyshots problem with react-ts
This commit is contained in:
parent
1e5bd78b0f
commit
eb00b30776
@ -44,6 +44,8 @@ const ignoreList = [
|
||||
(error: any) =>
|
||||
error.message.includes('react-async-component-lifecycle-hooks') &&
|
||||
error.stack.includes('addons/knobs/src/components/__tests__/Options.js'),
|
||||
// Storyshots blows up if your project includes a .docs.mdx file (react-ts does).
|
||||
(error: any) => error.message.match(/Unexpected error while loading .*\.docs\.mdx/),
|
||||
];
|
||||
|
||||
const throwMessage = (type: any, message: any) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user