mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-19 17:42:27 +03:00
645f2b42c2
* Boost CI * Split CI tests in 2 * Try caching node modules * Try caching node modules * Try caching node modules * Improve CI * Improve CI * Improve CI * Improve CI * Improve CI * Improve CI * Separate jest tests * Fix typo * Re-order tests jobs
13 lines
402 B
JavaScript
13 lines
402 B
JavaScript
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,
|
|
}; |