mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 06:23:00 +08:00
Fix hanging chromatic sandbox
This commit is contained in:
parent
c44e190d28
commit
c6fb85260b
@ -61,7 +61,15 @@ export const getEntries = (cwd: string) => {
|
||||
true,
|
||||
['util', 'react'],
|
||||
[],
|
||||
['chai', '@vitest/expect', '@vitest/spy', '@vitest/utils'],
|
||||
[
|
||||
'@testing-library/dom',
|
||||
'@testing-library/jest-dom',
|
||||
'@testing-library/user-event',
|
||||
'chai',
|
||||
'@vitest/expect',
|
||||
'@vitest/spy',
|
||||
'@vitest/utils',
|
||||
],
|
||||
true
|
||||
),
|
||||
define(
|
||||
@ -70,7 +78,15 @@ export const getEntries = (cwd: string) => {
|
||||
true,
|
||||
['util', 'react'],
|
||||
[],
|
||||
['chai', '@vitest/expect', '@vitest/spy', '@vitest/utils'],
|
||||
[
|
||||
'@testing-library/dom',
|
||||
'@testing-library/jest-dom',
|
||||
'@testing-library/user-event',
|
||||
'chai',
|
||||
'@vitest/expect',
|
||||
'@vitest/spy',
|
||||
'@vitest/utils',
|
||||
],
|
||||
true
|
||||
),
|
||||
define(
|
||||
@ -79,7 +95,15 @@ export const getEntries = (cwd: string) => {
|
||||
true,
|
||||
['util', 'react'],
|
||||
[],
|
||||
['chai', '@vitest/expect', '@vitest/spy', '@vitest/utils'],
|
||||
[
|
||||
'@testing-library/dom',
|
||||
'@testing-library/jest-dom',
|
||||
'@testing-library/user-event',
|
||||
'chai',
|
||||
'@vitest/expect',
|
||||
'@vitest/spy',
|
||||
'@vitest/utils',
|
||||
],
|
||||
true
|
||||
),
|
||||
];
|
||||
|
@ -3,8 +3,6 @@ import { definePreview } from 'storybook/internal/preview-api';
|
||||
import * as addArgs from './addArgs';
|
||||
import * as loaders from './loaders';
|
||||
|
||||
export * from './loaders';
|
||||
|
||||
export default () =>
|
||||
definePreview({
|
||||
...addArgs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user