mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-06 01:25:31 +00:00
Fix lint
This commit is contained in:
parent
dfd30cbaac
commit
307076771c
@ -423,17 +423,6 @@ describe('validateReview', () => {
|
|||||||
authenticatedUser = await updatingUser.toJson()
|
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 () => {
|
it('with name too short', async () => {
|
||||||
variables = {
|
variables = {
|
||||||
...variables,
|
...variables,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user