mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Fix lint
This commit is contained in:
parent
dfd30cbaac
commit
307076771c
@ -423,17 +423,6 @@ describe('validateReview', () => {
|
||||
authenticatedUser = await updatingUser.toJson()
|
||||
})
|
||||
|
||||
it('with `null` as name', async () => {
|
||||
variables = {
|
||||
...variables,
|
||||
name: null,
|
||||
}
|
||||
await expect(mutate({ mutation: updateUserMutation, variables })).resolves.toMatchObject({
|
||||
data: { UpdateUser: null },
|
||||
errors: [{ message: 'Username must be at least 3 character long!' }],
|
||||
})
|
||||
})
|
||||
|
||||
it('with name too short', async () => {
|
||||
variables = {
|
||||
...variables,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user