mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Make sanitize test more explicit
This commit is contained in:
parent
c8abf87367
commit
bf305bef39
1 changed files with 2 additions and 2 deletions
|
|
@ -58,8 +58,8 @@ describe('Sanitize Directive', () => {
|
|||
`
|
||||
})
|
||||
|
||||
it('responds with error code EMPTY_NAME', async () => {
|
||||
expect(async () => { await graphqlRequest(query, authToken) }).to.throw
|
||||
it('responds status code 500 when invalid input', async () => {
|
||||
return graphqlRequest(query, authToken).expect(500)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue