Skip to content

Commit b8f6d38

Browse files
committed
fix UT; review by qow
1 parent 81fc967 commit b8f6d38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/maplibregl/overlay/ThreeLayerSpec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ describe('maplibregl_ThreeLayer', () => {
177177

178178
it('render _update draw', () => {
179179
expect(threeLayer.render()).not.toBeNull();
180-
expect(threeLayer.draw()).not.toBeNull();
180+
const _this = threeLayer._update();
181+
expect(_this.draw()).not.toBeNull();
181182
});
182183
});

0 commit comments

Comments
 (0)