Skip to content

Commit

Permalink
Code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Mar 4, 2024
1 parent 345fa4f commit f524f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/helpers/percentiles.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ t.test("array of percentiles", async (t) => {
});

t.test("throw an error if less than 0", async (t) => {
t.throws(() => percentiles([-1], []));
t.throws(() => percentiles([-1], [1]));
});

t.test("throw an error if grater than 100", async (t) => {
t.throws(() => percentiles([101], []));
t.throws(() => percentiles([101], [1]));
});

t.test("empty list", async (t) => {
Expand Down

0 comments on commit f524f24

Please sign in to comment.