Skip to content

Commit

Permalink
fix(vx-voronoi): null coercion
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Williams committed Nov 13, 2019
1 parent 77d04c0 commit 09a95dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/vx-voronoi/test/voronoi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ describe('voronoi', () => {
const height = 99;
const v = voronoi({ width, height });
const extent = v.extent();
const endCoord = extent[1];

const endCoord = extent![1];
expect(endCoord[0]).toEqual(width + 1);
expect(endCoord[1]).toEqual(height + 1);
});
Expand Down

0 comments on commit 09a95dd

Please sign in to comment.