Skip to content

Commit

Permalink
Update test_utils.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakerboy authored May 10, 2024
1 parent 6b71e19 commit ed01db5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test_utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ test('Test Closed Way', () => {
const { JSDOM } = jsdom;
var way = '<way id="1"><nd ref="2"/><nd ref="3"/><nd ref="4"/><nd ref="5"/><nd ref="2"/></way>';
let parser = new JSDOM.window.DOMParser();
let parser = new document.DOMParser();
let xmlData = parser(way);
expect(building_shape_utils.isClosed(xmlData)).toBe(true);

});

0 comments on commit ed01db5

Please sign in to comment.