Skip to content

Commit 852fdde

Browse files
committed
test: add specific zoom test
1 parent ea13f58 commit 852fdde

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/map/utils/zoom.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ describe.concurrent('', () => {
1515
expect(res).toBeTypeOf('number');
1616
expect(res).toBe(0);
1717
});
18+
19+
it('specific zoom', ({expect}) => {
20+
const res = getMapZoom(1000);
21+
22+
expect(res).toBe(18.5);
23+
})
1824
});

0 commit comments

Comments
 (0)