Skip to content

Commit

Permalink
Small unrelated fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMalfait committed Aug 9, 2024
1 parent 00a6095 commit 6b8e1a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/twenty-front/src/testing/mock-data/config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { CaptchaDriverType } from '~/generated/graphql';
import { ClientConfig } from '~/generated-metadata/graphql';
import { CaptchaDriverType } from '~/generated/graphql';

export const mockedClientConfig: ClientConfig = {
signInPrefilled: true,
signUpDisabled: false,
chromeExtensionId: 'MOCKED_EXTENSION_ID',
debugMode: false,
authProviders: {
google: true,
Expand Down
5 changes: 5 additions & 0 deletions packages/twenty-front/src/testing/mock-data/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import {
User,
Workspace,
WorkspaceActivationStatus,
WorkspaceMemberDateFormatEnum,
WorkspaceMemberTimeFormatEnum,
} from '~/generated/graphql';

type MockedUser = Pick<
Expand Down Expand Up @@ -85,6 +87,9 @@ export const mockedWorkspaceMemberData: WorkspaceMember = {
updatedAt: '2023-04-26T10:23:42.33625+00:00',
userId: '2603c1f9-0172-4ea6-986c-eeaccdf7f4cf',
userEmail: '[email protected]',
dateFormat: WorkspaceMemberDateFormatEnum.DayFirst,
timeFormat: WorkspaceMemberTimeFormatEnum.Hour_24,
timeZone: 'America/New_York',
};

export const mockedUserData: MockedUser = {
Expand Down

0 comments on commit 6b8e1a6

Please sign in to comment.