Skip to content

Commit 9e8c7a8

Browse files
Copilotmrjf
andauthored
Fix cut test TypeScript error
Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
1 parent 64de494 commit 9e8c7a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/stats/cut.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe("cut — basic", () => {
3838

3939
it("returns null for out-of-range values", () => {
4040
// When using explicit bins, values outside are null
41-
const result = cut([1, 2, 3, 100], { bins: [0, 2, 5] });
41+
const result = cut([1, 2, 3, 100], [0, 2, 5]);
4242
const v = result.values as readonly (string | null)[];
4343
// 100 is outside the explicit bins [0,2,5], expect null
4444
expect(v[3]).toBe(null);

0 commit comments

Comments
 (0)