File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import {jest} from '@jest/globals';
55import fetchMock from 'jest-fetch-mock' ;
66fetchMock . enableMocks ( ) ;
77import { Building } from '../src/building.js' ;
8- import { BuildingPart } from '../src/buildingpart.js' ;
98import { BuildingShapeUtils } from '../src/extras/BuildingShapeUtils.js' ;
109import { TextEncoder } from 'node:util' ;
1110
@@ -186,7 +185,7 @@ beforeEach(() => {
186185test ( 'Constructor' , ( ) => {
187186 const bldg = new Building ( '868101951' , data ) ;
188187 expect ( bldg . parts . length ) . toBe ( 0 ) ;
189- expect ( BuildingPart . getLongestSideAngle ( bldg . outerElement ) ) . toBe ( 90 ) ;
188+ expect ( BuildingShapeUtils . longestSideAngle ( bldg . outerElement ) ) . toBe ( 90 ) ;
190189 const meshes = bldg . render ( ) ;
191190 const roofmesh = meshes [ 0 ] ;
192191 const roofGeometry = roofmesh . geometry ;
You can’t perform that action at this time.
0 commit comments