fix: lint

This commit is contained in:
ogerly 2020-08-14 17:48:29 +02:00
parent 6d856a3edc
commit 1b268b4891

View File

@ -6,8 +6,6 @@ import { createTestClient } from 'apollo-server-testing'
const categoryIds = ['cat9'] const categoryIds = ['cat9']
let user let user
let anotherUser
let moderator
let admin let admin
let authenticatedUser let authenticatedUser
@ -290,8 +288,6 @@ describe('Delete a User as admin', () => {
describe('authenticated as Admin', () => { describe('authenticated as Admin', () => {
beforeEach(async () => { beforeEach(async () => {
admin = await Factory.build( admin = await Factory.build(
'user', 'user',
{ {
role: 'admin', role: 'admin',
@ -457,7 +453,6 @@ describe('Delete a User as admin', () => {
await expect(neode.all('SocialMedia')).resolves.toHaveLength(1) await expect(neode.all('SocialMedia')).resolves.toHaveLength(1)
await mutate({ mutation: deleteUserMutation, variables }) await mutate({ mutation: deleteUserMutation, variables })
await expect(neode.all('SocialMedia')).resolves.toHaveLength(0) await expect(neode.all('SocialMedia')).resolves.toHaveLength(0)
}) })
}) })
}) })