mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 22:12:24 +03:00
Fix test
This commit is contained in:
parent
2d9dc0e88d
commit
6cb5d3f19d
@ -34,7 +34,7 @@ const meta: Meta<PageDecoratorArgs> = {
|
||||
graphql.query(getOperationName(GET_CURRENT_USER) ?? '', () => {
|
||||
return HttpResponse.json({
|
||||
data: {
|
||||
currentUser: mockedOnboardingUsersData[0],
|
||||
currentUser: mockedOnboardingUsersData[1],
|
||||
},
|
||||
});
|
||||
}),
|
||||
|
@ -11,7 +11,7 @@ type MockedUser = Pick<
|
||||
| '__typename'
|
||||
| 'supportUserHash'
|
||||
> & {
|
||||
workspaceMember: WorkspaceMember;
|
||||
workspaceMember: WorkspaceMember | null;
|
||||
locale: string;
|
||||
defaultWorkspace: Workspace;
|
||||
};
|
||||
@ -116,7 +116,7 @@ export const mockedOnboardingUsersData: Array<MockedUser> = [
|
||||
firstName: '',
|
||||
lastName: '',
|
||||
canImpersonate: false,
|
||||
workspaceMember: mockedWorkspaceMemberData,
|
||||
workspaceMember: null,
|
||||
defaultWorkspace: {
|
||||
...mockDefaultWorkspace,
|
||||
displayName: '',
|
||||
|
Loading…
Reference in New Issue
Block a user