We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 661a862 commit d7a4f4fCopy full SHA for d7a4f4f
test/utils.test.js
@@ -82,7 +82,7 @@ describe('isSelfIntersecting', () => {
82
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="1"/></way>', false, 'closed non-intersecting'],
83
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="2"/></way>', true, 'open intersecting'],
84
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="4"/><nd ref="3"/><nd ref="1"/></way>', true, 'closed intersecting'],
85
- ])(${description}, (way, expected, description) => {
+ ])('${description}', (way, expected, description) => {
86
let parser = new window.DOMParser();
87
let xml = parser.parseFromString(way, 'text/xml').getElementsByTagName('way')[0];
88
expect(BuildingShapeUtils.isSelfIntersecting(xml)).toBe(expected);
0 commit comments