diff --git a/backend/src/schema/resolvers/registration.spec.js b/backend/src/schema/resolvers/registration.spec.js index 29116ef70..180950f94 100644 --- a/backend/src/schema/resolvers/registration.spec.js +++ b/backend/src/schema/resolvers/registration.spec.js @@ -290,8 +290,7 @@ describe('Signup', () => { it('throws AuthorizationError', async () => { await expect(mutate({ mutation, variables })).resolves.toMatchObject({ - // errors: [{ message: 'Not Authorised!' }], - errors: undefined, + errors: [{ message: 'Not Authorised!' }], }) })