From 59b6764f72b7365e556a15d8bdccb3aeafefce19 Mon Sep 17 00:00:00 2001 From: Vladislav Tupikin Date: Sat, 13 Aug 2022 00:27:33 +0400 Subject: [PATCH] eslint fixes --- tests/unit/serverApiClient.test.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/unit/serverApiClient.test.ts b/tests/unit/serverApiClient.test.ts index 644d4130..e1b8ecb3 100644 --- a/tests/unit/serverApiClient.test.ts +++ b/tests/unit/serverApiClient.test.ts @@ -3,8 +3,8 @@ import { ServerClient } from '../../src'; import test from 'ava'; const config = { - host: 'https://localhost', - }; + host: 'https://localhost', +}; test('should create correct url', t => { const serverClient = new ServerClient(config); @@ -30,11 +30,11 @@ test('should send the correct headers when creating attachments', t => { id: '1234567', comment: 'testing', file: buffer, - }) + }); const callArgument = stub.getCall(0).args[0]; - t.is(callArgument.url, '/rest/api/content/1234567/child/attachment') + t.is(callArgument.url, '/rest/api/content/1234567/child/attachment'); t.deepEqual(callArgument.headers, { 'Content-Type': 'multipart/form-data', 'X-Atlassian-Token': 'nocheck', @@ -52,13 +52,13 @@ test('should send the correct headers when updating attachments', t => { attachmentId: '89101112', comment: 'testing', file: buffer, - }) + }); const callArgument = stub.getCall(0).args[0]; - t.is(callArgument.url, '/rest/api/content/1234567/child/attachment/89101112/data') + t.is(callArgument.url, '/rest/api/content/1234567/child/attachment/89101112/data'); t.deepEqual(callArgument.headers, { 'Content-Type': 'multipart/form-data', 'X-Atlassian-Token': 'nocheck', }); -}) +});