mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-18 05:02:24 +08:00
Disable cycle story
This commit is contained in:
parent
13869f72b0
commit
c51288c202
@ -70,14 +70,14 @@ export const Defined = {
|
||||
// imageUrls: ['https://storybook.js.org/images/placeholders/350x150.png'],
|
||||
// };
|
||||
|
||||
const hasCycle: any = {};
|
||||
hasCycle.cycle = hasCycle;
|
||||
// const hasCycle: any = {};
|
||||
// hasCycle.cycle = hasCycle;
|
||||
|
||||
export const CyclicArgs = {
|
||||
args: process.env.NODE_ENV !== 'test' ? { object: hasCycle } : {},
|
||||
parameters: {
|
||||
docs: { disable: true },
|
||||
chromatic: { disable: true },
|
||||
storyshots: { disable: true },
|
||||
},
|
||||
};
|
||||
// export const CyclicArgs = {
|
||||
// args: process.env.NODE_ENV !== 'test' ? { object: hasCycle } : {},
|
||||
// parameters: {
|
||||
// docs: { disable: true },
|
||||
// chromatic: { disable: true },
|
||||
// storyshots: { disable: true },
|
||||
// },
|
||||
// };
|
||||
|
Loading…
x
Reference in New Issue
Block a user