We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa7079 commit 872168aCopy full SHA for 872168a
test/utils.test.js
@@ -25,12 +25,11 @@ test('', () => {
25
3: [-1, 1],
26
};
27
const shape = BuildingShapeUtils.createShape(xmlData, nodelist);
28
- expect(shape.extractPoints().shape.length).toBe(4);
+ expect(shape.extractPoints().shape.length).toBe(3);
29
const points = shape.extractPoints().shape;
30
expect([points[0].x, points[0].y]).toStrictEqual(nodelist[1]);
31
expect([points[1].x, points[1].y]).toStrictEqual(nodelist[2]);
32
expect([points[2].x, points[2].y]).toStrictEqual(nodelist[3]);
33
- expect([points[0].x, points[0].y]).toStrictEqual(nodelist[1]);
34
});
35
36
/** Test isClosed */
0 commit comments