const { getJestConfig } = require('@storybook/test-runner'); /** * @type {import('@jest/types').Config.InitialOptions} */ module.exports = { // The default configuration comes from @storybook/test-runner ...getJestConfig(), /** Add your own overrides below * @see https://jestjs.io/docs/configuration */ testTimeout: process.env.STORYBOOK_STORIES_FOLDER === 'pages' ? 30000 : 15000, };