Skip to content

Commit

Permalink
remove toSorted usage, CI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hexsprite committed Jan 19, 2024
1 parent ba0b21f commit a697434
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node.js CI
name: Unit Tests

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion src/IntervalTree.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ describe('IntervalTree', () => {
tree.addInterval(4, 6)
tree.addInterval(5, 9)
const result = tree.search(5, 6)
expect(result.toArray().toSorted(compareIntervals).toString()).toEqual(
expect(result.toArray().sort(compareIntervals).toString()).toEqual(
'Interval(4, 6),Interval(5, 9)'
)
})
Expand Down

0 comments on commit a697434

Please sign in to comment.