mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-20 20:01:22 +00:00
Fix deprecation: async function passed to describe
This commit is contained in:
parent
e82cf9b349
commit
cae3330105
@ -34,7 +34,7 @@ describe('authorization', () => {
|
||||
return graphQLClient.request('{User(name: "Owner") { email } }')
|
||||
}
|
||||
|
||||
describe('not logged in', async () => {
|
||||
describe('not logged in', () => {
|
||||
it('rejects', async () => {
|
||||
await expect(action()).rejects.toThrow('Not Authorised!')
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user