mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
_id property for user
This commit is contained in:
parent
5d4c4f3c98
commit
64120a0009
@ -22,6 +22,7 @@ export const roomQuery = () => {
|
||||
id
|
||||
roomId
|
||||
users {
|
||||
_id
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
@ -143,9 +143,11 @@ describe('Room', () => {
|
||||
roomId: result.data.Room[0].id,
|
||||
users: expect.arrayContaining([
|
||||
{
|
||||
_id: expect.any(String),
|
||||
id: 'chatting-user',
|
||||
},
|
||||
{
|
||||
_id: expect.any(String),
|
||||
id: 'other-chatting-user',
|
||||
},
|
||||
]),
|
||||
@ -172,9 +174,11 @@ describe('Room', () => {
|
||||
roomId: result.data.Room[0].id,
|
||||
users: expect.arrayContaining([
|
||||
{
|
||||
_id: expect.any(String),
|
||||
id: 'chatting-user',
|
||||
},
|
||||
{
|
||||
_id: expect.any(String),
|
||||
id: 'other-chatting-user',
|
||||
},
|
||||
]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user