Skip to content

Commit 6c0e643

Browse files
committed
fix linter warnings about commas, let/var, and missing whitespaces
1 parent 2751375 commit 6c0e643

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

__tests__/zip.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,18 @@ describe('zip', () => {
7070

7171
it('fills in the empty zipped values with undefined', () => {
7272
expect(
73-
Seq.of(1,2,3).zipAll(Seq.of(4)).toArray()
73+
Seq.of(1, 2, 3).zipAll(Seq.of(4)).toArray(),
7474
).toEqual(
75-
[[1,4],[2,undefined],[3,undefined]]
75+
[[1, 4],[2, undefined],[3, undefined]],
7676
);
7777
});
7878

7979
check.it('is always the size of the longest sequence',
8080
[gen.notEmpty(gen.array(gen.posInt))], (lengths) => {
81-
var ranges = lengths.map(l => Range(0, l));
82-
var first = ranges.shift();
83-
var zipped = first.zipAll.apply(first, ranges);
84-
var longestLength = Math.max.apply(Math, lengths);
81+
const ranges = lengths.map(l => Range(0, l));
82+
const first = ranges.shift();
83+
const zipped = first.zipAll.apply(first, ranges);
84+
const longestLength = Math.max.apply(Math, lengths);
8585
expect(zipped.size).toBe(longestLength);
8686
});
8787

0 commit comments

Comments
 (0)