Skip to content

Commit

Permalink
⬆️ deps: Upgrade xo to v0.43.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Aug 5, 2021
1 parent 78a1c91 commit 0a7641f
Show file tree
Hide file tree
Showing 3 changed files with 245 additions and 805 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"pinst": "2.1.6",
"power-assert": "1.6.1",
"regenerator-runtime": "0.13.9",
"xo": "0.40.3"
"xo": "0.43.0"
},
"ava": {
"files": [
Expand Down
24 changes: 5 additions & 19 deletions test/src/intervaltree.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,11 @@ test('intervaltree', (t) => {
[3, 9],
[4, 6],
]);
t.deepEqual(
list(
i.takeUntil((m) => {
return m[0] > 1;
}),
),
[[1, 7]],
);
t.deepEqual(
list(
i.dropUntil((m) => {
return m[0] > 1;
}),
),
[
[3, 9],
[4, 6],
],
);
t.deepEqual(list(i.takeUntil((m) => m[0] > 1)), [[1, 7]]);
t.deepEqual(list(i.dropUntil((m) => m[0] > 1)), [
[3, 9],
[4, 6],
]);
t.deepEqual(list(i.merge(i)), [
[1, 7],
[1, 7],
Expand Down
Loading

0 comments on commit 0a7641f

Please sign in to comment.