Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bmesuere committed Aug 6, 2024
1 parent d544627 commit d7ed283
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/formatters/csv_formatter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { get } from "http";
import { Formatter } from "./formatter.js";
import { stringify } from "csv-stringify/sync";

Expand Down
1 change: 0 additions & 1 deletion lib/formatters/to_xml.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck

// This file was taken from https://github.com/kawanet/to-xml and modified to have a specific output for arrays.
Expand Down
2 changes: 1 addition & 1 deletion tests/commands/unipept/pept2ec.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { jest } from '@jest/globals';
import { Pept2ec } from "../../../lib/commands/unipept/pept2ec";

let output: string[];
const writeSpy = jest
jest
.spyOn(process.stdout, "write")
.mockImplementation((data: unknown) => { output.push(data as string); return true; });

Expand Down
2 changes: 1 addition & 1 deletion tests/commands/unipept/pept2lca.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { jest } from '@jest/globals';
import { Pept2lca } from "../../../lib/commands/unipept/pept2lca";

let output: string[];
const writeSpy = jest
jest
.spyOn(process.stdout, "write")
.mockImplementation((data: unknown) => { output.push(data as string); return true; });

Expand Down

0 comments on commit d7ed283

Please sign in to comment.