Skip to content

Commit

Permalink
fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zemberdotnet committed Nov 30, 2023
1 parent 26a8889 commit 1be3863
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class FileSystemGraphObjectStore implements GraphObjectStore {
async iterateEntities<T extends Entity = Entity>(
filter: GraphObjectFilter,
iteratee: GraphObjectIteratee<T>,
options: { concurrency: number },
options?: { concurrency: number },
) {
await this.localGraphObjectStore.iterateEntities(filter, iteratee, options);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
3 changes: 2 additions & 1 deletion packages/integration-sdk-runtime/src/storage/memory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 1be3863

Please sign in to comment.