Make full name editable on People page (#100)

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Charles Bochet
2023-05-04 18:38:29 +02:00
committed by GitHub
parent f6b691945c
commit 89dc5b4d60
7 changed files with 190 additions and 26 deletions
@@ -18,13 +18,14 @@ describe('mapPerson', () => {
},
__typename: '',
});
expect(person.fullName).toBe('John Doe');
expect(person.firstname).toBe('John');
});
it('should map person back', () => {
const person = mapGqlPerson({
id: '7dfbc3f7-6e5e-4128-957e-8d86808cdf6b',
fullName: 'John Doe',
firstname: 'John',
lastname: 'Doe',
email: '',
phone: '',
city: '',