From 3cc81d71a2fa693f602ec304225f94ac07d272c5 Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Fri, 11 Oct 2019 17:55:35 +1100 Subject: [PATCH] fix test --- test/unit/ui/map.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/ui/map.test.js b/test/unit/ui/map.test.js index 98eb88286e0..95349932f61 100755 --- a/test/unit/ui/map.test.js +++ b/test/unit/ui/map.test.js @@ -813,7 +813,7 @@ test('Map', (t) => { t.test('#setMinPitch', (t) => { const map = createMap(t, {pitch: 20}); - map.setMinZoom(10); + map.setMinPitch(10); map.setPitch(0); t.equal(map.getPitch(), 10); t.end();