Fix deprecation: async function passed to describe

This commit is contained in:
Robert Schäfer 2019-03-10 18:29:25 +01:00
parent e82cf9b349
commit cae3330105

View File

@ -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!')
})