Skip to content

Commit b9f5bdb

Browse files
authored
Update building.test.js
1 parent 362690e commit b9f5bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/building.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ test('Invisible Outer Building', () => {
8484
const mesh = bldg.render();
8585
//expect outer building and roof to not be visible
8686
expect(mesh[0].visible).toBe(false);
87-
expect(bldg.options.building.visible).toBe(false);
87+
expect(bldg.outerElement.options.building.visible).toBe(false);
8888
expect(mesh[1].visible).toBe(false);
8989
});
9090

0 commit comments

Comments
 (0)