Skip to content

Commit 872168a

Browse files
authored
Update utils.test.js (#132)
1 parent 0aa7079 commit 872168a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/utils.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ test('', () => {
2525
3: [-1, 1],
2626
};
2727
const shape = BuildingShapeUtils.createShape(xmlData, nodelist);
28-
expect(shape.extractPoints().shape.length).toBe(4);
28+
expect(shape.extractPoints().shape.length).toBe(3);
2929
const points = shape.extractPoints().shape;
3030
expect([points[0].x, points[0].y]).toStrictEqual(nodelist[1]);
3131
expect([points[1].x, points[1].y]).toStrictEqual(nodelist[2]);
3232
expect([points[2].x, points[2].y]).toStrictEqual(nodelist[3]);
33-
expect([points[0].x, points[0].y]).toStrictEqual(nodelist[1]);
3433
});
3534

3635
/** Test isClosed */

0 commit comments

Comments
 (0)