Fix not used locals

This commit is contained in:
Johannes Zillmann 2021-04-09 18:26:31 +02:00
parent 6327d74512
commit ddac96299d
2 changed files with 1 additions and 3 deletions

View File

@ -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<string, FontType>();

View File

@ -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([]);