diff --git a/packages/integration-sdk-runtime/src/synchronization/__tests__/index.test.ts b/packages/integration-sdk-runtime/src/synchronization/__tests__/index.test.ts index 0833ac4fa..ee6f35aaf 100644 --- a/packages/integration-sdk-runtime/src/synchronization/__tests__/index.test.ts +++ b/packages/integration-sdk-runtime/src/synchronization/__tests__/index.test.ts @@ -30,9 +30,6 @@ import { getRootStorageDirectory, readJsonFromPath } from '../../fileSystem'; import { generateSynchronizationJob } from './util/generateSynchronizationJob'; import { getExpectedRequestHeaders } from '../../../test/util/request'; -import { promisify } from 'util'; -import { gzip } from 'zlib'; - import * as shrinkBatchRawData from '../shrinkBatchRawData'; afterEach(() => { @@ -755,11 +752,6 @@ describe('uploadDataChunk', () => { }); }); -const gz = promisify(gzip); -async function gzipData(data: object) { - return await gz(JSON.stringify(data)); -} - function createTestContext( options?: Partial< Pick