Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Dec 20, 2024
1 parent 9c847f3 commit f054110
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/compilation_report.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe("Markdown format", () => {
const ref_2_Reports = compilationReports(ref_2_Content);
expect(ref_1_Reports.length).toBeGreaterThan(0);
expect(ref_1_Reports.length).toBe(ref_2_Reports.length);
const markdown = computeCompilationDiff(ref_1_Reports, ref_2_Reports);
const markdown = computeCompilationDiff(ref_1_Reports, ref_2_Reports, "Compilation report");
fs.writeFileSync("tests/mocks/1-2-compilation.md", markdown);
expect(markdown.length).toBeGreaterThan(0);
});
Expand Down
2 changes: 1 addition & 1 deletion tests/memory_report.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Markdown format", () => {
const ref_2_Reports = memoryReports(ref_2_Content);
expect(ref_1_Reports.length).toBeGreaterThan(0);
expect(ref_1_Reports.length).toBe(ref_2_Reports.length);
const markdown = computeMemoryDiff(ref_1_Reports, ref_2_Reports);
const markdown = computeMemoryDiff(ref_1_Reports, ref_2_Reports, "Peak memory sample");
expect(markdown.length).toBeGreaterThan(0);
});
});

0 comments on commit f054110

Please sign in to comment.