Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bmesuere committed Jul 30, 2024
1 parent e0b691a commit e1589da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/formatters/csv_formatter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TestObject } from "./test_object";
const formatter = FormatterFactory.getFormatter("csv");

test('test header', () => {
const fasta = [["peptide", ">test"]];
//const fasta = [["peptide", ">test"]];
const object = [TestObject.testObject(), TestObject.testObject()];
expect(formatter.header(object)).toBe(TestObject.asCsvHeader());
//expect(formatter.header(object, fasta)).toBe(`fasta_header,${TestObject.asCsvHeader()}`);
Expand All @@ -23,8 +23,8 @@ test('test convert', () => {
});

test('test format with fasta', () => {
const fasta = [['>test', '5']];
const object = [TestObject.testObject(), TestObject.testObject()];
const csv = [`>test,${TestObject.asCsv()}`, TestObject.asCsv(), ""].join("\n");
//const fasta = [['>test', '5']];
//const object = [TestObject.testObject(), TestObject.testObject()];
//const csv = [`>test,${TestObject.asCsv()}`, TestObject.asCsv(), ""].join("\n");
//expect(formatter.format(object, fasta, false)).toBe(csv);
});

0 comments on commit e1589da

Please sign in to comment.