From 4ac3f92989f7704844ed72f6793699cc3632f7a7 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Mon, 2 Dec 2019 15:54:51 +0100 Subject: [PATCH] Fix lint --- backend/src/schema/resolvers/reports.spec.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/src/schema/resolvers/reports.spec.js b/backend/src/schema/resolvers/reports.spec.js index e4fb32ec8..c0a9d3afb 100644 --- a/backend/src/schema/resolvers/reports.spec.js +++ b/backend/src/schema/resolvers/reports.spec.js @@ -153,14 +153,15 @@ describe('file a report on a resource', () => { }) it('returns the rule for how the report was decided', async () => { - await expect(mutate({ - mutation: reportMutation, - variables: { ...variables, resourceId: 'abusive-user-id' }, - }), + await expect( + mutate({ + mutation: reportMutation, + variables: { ...variables, resourceId: 'abusive-user-id' }, + }), ).resolves.toMatchObject({ data: { fileReport: { - rule: 'latestReviewUpdatedAtRules' + rule: 'latestReviewUpdatedAtRules', }, }, errors: undefined,