diff --git a/core/src/transformer/CacluclateStatistics.ts b/core/src/transformer/CacluclateStatistics.ts index d759bb8..451d5c7 100644 --- a/core/src/transformer/CacluclateStatistics.ts +++ b/core/src/transformer/CacluclateStatistics.ts @@ -97,7 +97,7 @@ export default class CalculateStatistics extends ItemTransformer { } page = item.page; }); - const mostUsedDistance = parseInt(getMostUsedKey(distanceToOccurrence)); + // const mostUsedDistance = parseInt(getMostUsedKey(distanceToOccurrence)); const fontIdToName: string[] = []; const fontToType = new Map(); diff --git a/core/test/support/functional.test.ts b/core/test/support/functional.test.ts index 50421eb..44e39d0 100644 --- a/core/test/support/functional.test.ts +++ b/core/test/support/functional.test.ts @@ -1,6 +1,4 @@ -import Item from 'src/Item'; import { flatMap, flatten, groupBy } from 'src/support/functional'; -import { items } from 'test/testItems'; test('flatMap', async () => { expect(flatMap([], (e) => e)).toEqual([]);