Skip to content

Commit

Permalink
test: add specific zoom test
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Apr 5, 2023
1 parent ea13f58 commit 852fdde
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/map/utils/zoom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ describe.concurrent('', () => {
expect(res).toBeTypeOf('number');
expect(res).toBe(0);
});

it('specific zoom', ({expect}) => {
const res = getMapZoom(1000);

expect(res).toBe(18.5);
})
});

0 comments on commit 852fdde

Please sign in to comment.