diff --git a/specs/commercelayer.spec.ts b/specs/commercelayer.spec.ts index b2f75ec4..f33aa787 100644 --- a/specs/commercelayer.spec.ts +++ b/specs/commercelayer.spec.ts @@ -1,8 +1,7 @@ import { CommerceLayerClient, CommerceLayerStatic } from '../src' -import { currentAccessToken, getClient, initClient, organization, } from '../test/common' +import { getClient, organization, } from '../test/common' import { RawResponseReader } from '../src/interceptor' -import { OPEN_API_SCHEMA_VERSION } from '../src/commercelayer' let cl: CommerceLayerClient @@ -37,18 +36,6 @@ describe('SDK:commercelayer suite', () => { }) -/* - it('commercelayer.accessToken', async () => { - - expect(cl.currentAccessToken).toEqual(currentAccessToken) - - cl.config({ accessToken: 'fake-token' }) - expect(cl.currentAccessToken).toEqual('fake-token') - - }) -*/ - - it('commercelayer.rawResponse', async () => { jest.setTimeout(10000) @@ -74,5 +61,4 @@ describe('SDK:commercelayer suite', () => { }) - }) diff --git a/specs/headers.spec.ts b/specs/headers.spec.ts index 8d9fdbd7..0c3adb7f 100644 --- a/specs/headers.spec.ts +++ b/specs/headers.spec.ts @@ -55,5 +55,4 @@ describe('Test headers', () => { }) - }) diff --git a/specs/sdk.spec.ts b/specs/sdk.spec.ts index b4287e7c..649aabc3 100644 --- a/specs/sdk.spec.ts +++ b/specs/sdk.spec.ts @@ -8,7 +8,6 @@ import { ObjectType, isResourceType } from '../src/common' let cl: CommerceLayerClient -// eslint-disable-next-line @typescript-eslint/no-unused-vars beforeAll(async () => { cl = await getClient() }) diff --git a/specs/static.spec.ts b/specs/static.spec.ts index 04c076a9..042af825 100644 --- a/specs/static.spec.ts +++ b/specs/static.spec.ts @@ -7,7 +7,6 @@ import { getClient, organization } from '../test/common' let cl: CommerceLayerClient -// eslint-disable-next-line @typescript-eslint/no-unused-vars beforeAll(async () => { cl = await getClient() })