Skip to content

Commit ab0b3a4

Browse files
authored
Update building.test.js
1 parent fda799d commit ab0b3a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/building.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ test('Create Nodelist', () => {
7979

8080

8181
test('Invisible Outer Building', () => {
82-
const bldg = new Building();
82+
const bldg = new Building('31361386', data);
83+
bldg.parts = [bldg.outerElement];
8384
const mesh = bldg.render();
8485
//expect outer building and roof to not be visible
8586
expect(mesh[0].visible).toBe(false);

0 commit comments

Comments
 (0)