mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
test: resolve the terrain fixture through its dependency
This commit is contained in:
1 parent
a6f9c3d82a
commit
e82e0a149f
1 file changed
+2
-2
@@ -160,8 +160,8 @@ test('ground body and clipped head stay inside rebuild and frame geometry budget
|
||||
Cesium.ApproximateTerrainHeights._terrainHeights = JSON.parse(
|
||||
readFileSync(
|
||||
new URL(
|
||||
'../../node_modules/@cesium/engine/Source/Assets/approximateTerrainHeights.json',
|
||||
import.meta.url,
|
||||
import.meta
|
||||
.resolve('@cesium/engine/Source/Assets/approximateTerrainHeights.json'),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user