mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +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(
|
Cesium.ApproximateTerrainHeights._terrainHeights = JSON.parse(
|
||||||
readFileSync(
|
readFileSync(
|
||||||
new URL(
|
new URL(
|
||||||
'../../node_modules/@cesium/engine/Source/Assets/approximateTerrainHeights.json',
|
import.meta
|
||||||
import.meta.url,
|
.resolve('@cesium/engine/Source/Assets/approximateTerrainHeights.json'),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user