Skip to content

Commit

Permalink
Fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dickwolff committed Feb 14, 2025
1 parent 2784473 commit d5f65e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/converters/tradeRepublicConverter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("tradeRepublicConverter", () => {
// Assert
expect(actualExport).toBeTruthy();
expect(actualExport.activities.length).toBeGreaterThan(0);
expect(actualExport.activities.length).toBe(5);
expect(actualExport.activities.length).toBe(4);

done();
}, () => { done.fail("Should not have an error!"); });
Expand Down Expand Up @@ -91,7 +91,7 @@ describe("tradeRepublicConverter", () => {

// Assert
expect(err).toBeTruthy();
expect(err.message).toBe("An error ocurred while parsing! Details: Invalid Record Length: columns length is 11, got 13 on line 2");
expect(err.message).toBe("An error ocurred while parsing! Details: Invalid Record Length: columns length is 8, got 10 on line 2");

done();
});
Expand Down

0 comments on commit d5f65e9

Please sign in to comment.