test: resolve the terrain fixture through its dependency

This commit is contained in:
Sameh Khamis committed 2026-09-15 12:29:18 -07:00
1 parent a6f9c3d82a
commit e82e0a149f
1 file changed
+2 -2
+2 -2
View File
@@ -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'),
),
),
);