diff --git a/src/test/ContextManager.spec.ts b/src/test/ContextManager.spec.ts index d93172d..de58b32 100644 --- a/src/test/ContextManager.spec.ts +++ b/src/test/ContextManager.spec.ts @@ -9,13 +9,15 @@ describe('ContextManager', () => { dotenv.config() const sampleLogResponse = { - "items": [{ - "attributes": {}, - "createdBy": "fake creator", - "id": "fakeId", - "name": "Compute Context To Delete", - "version": 2, - }] + items: [ + { + attributes: {}, + createdBy: 'fake creator', + id: 'fakeId', + name: 'Compute Context To Delete', + version: 2 + } + ] } const contextManager = new ContextManager( diff --git a/src/test/SessionManager.spec.ts b/src/test/SessionManager.spec.ts index 5b8cfd8..c509741 100644 --- a/src/test/SessionManager.spec.ts +++ b/src/test/SessionManager.spec.ts @@ -26,19 +26,23 @@ describe('SessionManager', () => { } const sampleLogResponse = { - "links": [], - "name": "SYSJOBID", - "ok": true, - "scope": "GLOBAL", - "value": "25218", - "version": 1, + links: [], + name: 'SYSJOBID', + ok: true, + scope: 'GLOBAL', + value: '25218', + version: 1 } mockedAxios.get.mockImplementation(() => Promise.resolve({ data: sampleResponse }) ) - const expectedResponse = { etag: '', result: sampleResponse, log: sampleLogResponse} + const expectedResponse = { + etag: '', + result: sampleResponse, + log: sampleLogResponse + } await expect( sessionManager.getVariable(