From 8e5f3e2ba53f3eb0cd705ae862577a1a0d08ebf0 Mon Sep 17 00:00:00 2001 From: Sebastian <sebastian.mihalache@thinslices.com> Date: Fri, 30 Mar 2018 15:12:53 +0300 Subject: [PATCH] feat(component-invite): fix delete inv test --- packages/component-invite/src/tests/deleteInvitation.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/component-invite/src/tests/deleteInvitation.test.js b/packages/component-invite/src/tests/deleteInvitation.test.js index 79de2f883..4842f098b 100644 --- a/packages/component-invite/src/tests/deleteInvitation.test.js +++ b/packages/component-invite/src/tests/deleteInvitation.test.js @@ -9,7 +9,7 @@ jest.mock('pubsweet-component-mail-service', () => ({ setupRevokeInvitationEmail: jest.fn(), })) const { standardCollection, noTeamCollection } = fixtures.collections -const { editorInChief, admin, handlingEditor, author } = fixtures.users +const { editorInChief, handlingEditor, author } = fixtures.users const { heTeam } = fixtures.teams const query = { role: 'handlingEditor', -- GitLab