Files
twenty/packages/twenty-front/src/testing/mock-data/pipeline-steps.ts
gitstart-twenty 984fc76b94 Fix and enhance storybook:pages tests (#3085)
* Fix and enhance storybook:pages tests

Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix and enhance storybook:pages tests

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* fix SettingsObjectFieldPreview

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix lint

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix jest

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Add more fixes

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix App.stories.tsx

Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>

* Fix tests

* Fix according to review

---------

Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com>
Co-authored-by: gitstart-app[bot] <57568882+gitstart-app[bot]@users.noreply.github.com>
Co-authored-by: v1b3m <vibenjamin6@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-12-20 18:36:58 +01:00

46 lines
888 B
TypeScript

import { PipelineStep } from '@/pipeline/types/PipelineStep';
const dates = {
updatedAt: '2021-06-01T10:23:42.33625+00:00',
createdAt: '2021-06-01T10:23:42.33625+00:00',
};
export const mockedPipelineSteps: Array<PipelineStep> = [
{
id: '6edf4ead-006a-46e1-9c6d-228f1d0143c9',
color: 'red',
name: 'New',
position: 0,
...dates,
},
{
id: '30b14887-d592-427d-bd97-6e670158db02',
color: 'sky',
name: 'Meeting',
position: 2,
...dates,
},
{
id: 'bea8bb7b-5467-48a6-9a8a-a8fa500123fe',
color: 'yellow',
name: 'Customer',
position: 4,
...dates,
},
{
id: 'd8361722-03fb-4e65-bd4f-ec9e52e5ec0a',
color: 'purple',
name: 'Screening',
position: 1,
...dates,
},
{
id: 'db5a6648-d80d-4020-af64-4817ab4a12e8',
color: 'turquoise',
name: 'Proposal',
position: 3,
...dates,
},
];