Fix all broken CIs (#7439)
Fix all the broken CIs :p This includes an ongoing effort to simplify test maintenance by having 1 unique source of truth about metadata and data mocks (that will later be generated from a unique source of seeds: dev = demo = test) Regressions: - Unit line coverage: 60 > 55 - Storybook Pages branch coverage: 40 > 35 We will need to write tests to increase those coverage - RelationFieldDisplay perf: 0.2ms to 0.22ms > We might have a regression here - Removed perf story about RawJSON > We will need to re-add it
This commit is contained in:
committed by
Charles Bochet
parent
bd305c8432
commit
d8c4af9279
@ -26,6 +26,7 @@ type MockedUser = Pick<
|
||||
locale: string;
|
||||
defaultWorkspace: Workspace;
|
||||
workspaces: Array<{ workspace: Workspace }>;
|
||||
workspaceMembers: WorkspaceMember[];
|
||||
};
|
||||
|
||||
export const avatarUrl =
|
||||
@ -107,6 +108,7 @@ export const mockedUserData: MockedUser = {
|
||||
defaultWorkspace: mockDefaultWorkspace,
|
||||
locale: 'en',
|
||||
workspaces: [{ workspace: mockDefaultWorkspace }],
|
||||
workspaceMembers: [mockedWorkspaceMemberData],
|
||||
onboardingStatus: OnboardingStatus.Completed,
|
||||
userVars: {},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user