mirror of
https://github.com/lingble/twenty.git
synced 2025-11-07 16:23:16 +00:00
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,
|
|
};
|