Implemented review comments - moved new tests in their own 'it' blocks.

This commit is contained in:
Kapil Jain 2019-10-20 11:12:54 -04:00
parent 58e3429c31
commit aaa1fea582

View File

@ -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,