diff --git a/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/FileSystemGraphObjectStore.ts b/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/FileSystemGraphObjectStore.ts index 0031e6236..f43d425fb 100644 --- a/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/FileSystemGraphObjectStore.ts +++ b/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/FileSystemGraphObjectStore.ts @@ -211,7 +211,7 @@ export class FileSystemGraphObjectStore implements GraphObjectStore { async iterateEntities( filter: GraphObjectFilter, iteratee: GraphObjectIteratee, - options: { concurrency: number }, + options?: { concurrency: number }, ) { await this.localGraphObjectStore.iterateEntities(filter, iteratee, options); diff --git a/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/__tests__/FileSystemGraphObjectStore.test.ts b/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/__tests__/FileSystemGraphObjectStore.test.ts index bf699c6fe..a754cb6ff 100644 --- a/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/__tests__/FileSystemGraphObjectStore.test.ts +++ b/packages/integration-sdk-runtime/src/storage/FileSystemGraphObjectStore/__tests__/FileSystemGraphObjectStore.test.ts @@ -29,7 +29,6 @@ import { RelationshipClass } from '@jupiterone/data-model'; import { FlushedGraphObjectData } from '../../types'; import sortBy from 'lodash/sortBy'; import { getSizeOfObject } from '../../../synchronization/batchBySize'; -import { warn } from 'console'; jest.mock('fs'); diff --git a/packages/integration-sdk-runtime/src/storage/memory.test.ts b/packages/integration-sdk-runtime/src/storage/memory.test.ts index 233a32148..94a59cca1 100644 --- a/packages/integration-sdk-runtime/src/storage/memory.test.ts +++ b/packages/integration-sdk-runtime/src/storage/memory.test.ts @@ -134,7 +134,8 @@ describe('#InMemoryGraphObjectStore', () => { Math.abs( taskStartTimes[entities[0]._key] - taskStartTimes[entities[1]._key], ), - ).toBeGreaterThan(99); + ).toBeGreaterThan(98); + // leave a little for clock / timing inaccuracy }); test('should not throw if iterating entity _type that does not exist', async () => {