test(layer): 修复测试用例

This commit is contained in:
thinkinggis 2020-09-09 17:22:35 +08:00
parent c5d1674435
commit a3acd5117a
1 changed files with 1 additions and 1 deletions
packages/layers/src/utils/__tests__

View File

@ -18,6 +18,6 @@ describe('extrude polyline', () => {
coord[1] = lat;
});
const mesh = extrude.extrude(coords);
expect(mesh.indices.length).toBe(6);
expect(mesh.indices.length).toBe(12);
});
});