diff --git a/lib/commands/unipept/unipept_subcommand.ts b/lib/commands/unipept/unipept_subcommand.ts index 9ef198a5..517ef65a 100644 --- a/lib/commands/unipept/unipept_subcommand.ts +++ b/lib/commands/unipept/unipept_subcommand.ts @@ -7,7 +7,7 @@ import { FormatterFactory } from "../../formatters/formatter_factory.js"; import { CSVFormatter } from "../../formatters/csv_formatter.js"; import path from "path"; import os from "os"; -import { appendFile, mkdir, writeFile } from "fs/promises"; +import { appendFile, mkdir } from "fs/promises"; export abstract class UnipeptSubcommand { public command: Command; diff --git a/tests/formatters/formatter.test.ts b/tests/formatters/formatter.test.ts index c041f31b..9db35348 100644 --- a/tests/formatters/formatter.test.ts +++ b/tests/formatters/formatter.test.ts @@ -6,7 +6,6 @@ test('test integrate fasta headers', async () => { const fasta = { 5: ">test" }; const object = [TestObject.testObject(), TestObject.testObject()]; const integrated = [Object.assign({ fasta_header: ">test" }, TestObject.testObject()), Object.assign({ fasta_header: ">test" }, TestObject.testObject())]; - // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore expect(formatter.integrateFastaHeaders(object, fasta)).toEqual(integrated); });