mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 21:13:01 +03:00
a0178478d4
In this PR I'm optimizing a whole RecordTableCell in real conditions with a complex RelationFieldDisplay component : - Broke down getObjectRecordIdentifier into multiple utils - Precompute memoized function for getting chip data per field with useRecordChipDataGenerator() - Refactored RelationFieldDisplay - Use CSS modules where performance is needed instead of styled components - Create a CSS theme with global CSS variables to be used by CSS modules
16 lines
383 B
JavaScript
16 lines
383 B
JavaScript
import { getJestConfig } from '@storybook/test-runner';
|
|
|
|
const MINUTES_IN_MS = 60 * 1000;
|
|
|
|
/**
|
|
* @type {import('@jest/types').Config.InitialOptions}
|
|
*/
|
|
export default {
|
|
// The default configuration comes from @storybook/test-runner
|
|
...getJestConfig(),
|
|
/** Add your own overrides below
|
|
* @see https://jestjs.io/docs/configuration
|
|
*/
|
|
testTimeout: 5 * MINUTES_IN_MS,
|
|
};
|