mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Implemented review comments - moved new tests in their own 'it' blocks.
This commit is contained in:
parent
58e3429c31
commit
aaa1fea582
@ -132,11 +132,6 @@ describe('follow', () => {
|
||||
})
|
||||
|
||||
test('adds `createdAt` to `FOLLOW` relationship', async () => {
|
||||
const expectedUser = {
|
||||
name: user2.name,
|
||||
followedBy: [{ id: user1.id, name: user1.name }],
|
||||
followedByCurrentUser: true,
|
||||
}
|
||||
await mutate({
|
||||
mutation: mutationFollowUser,
|
||||
variables,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user