Skip to content

Commit 5958d77

Browse files
authored
Update gabledroofbug.test.js
1 parent 9772ecd commit 5958d77

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/gabledroofbug.test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ beforeEach(() => {
184184
// from the requested map data to see if one errors and one does not.
185185
test('Constructor', () => {
186186
const bldg = new Building('868101951', data);
187-
expect(bldg.parts.length).toBe(1);
188-
const part = bldg.parts[0];
189-
const meshes = part.render();
187+
expect(bldg.parts.length).toBe(0);
188+
const meshes = bldg.render();
190189
const roofmesh = meshes[0];
191190
const roofGeometry = roofmesh.geometry;
192191
expect(roofGeometry.constructor.name).toBe('WedgeGeometry');

0 commit comments

Comments
 (0)