From 04f4d54bfe763371ea3793d4a949428c0789a88d Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Fri, 11 Sep 2026 16:07:53 -0700 Subject: [PATCH] test: allow line wrapping in the stem buffer regression pin --- src/data/localGeojson.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/localGeojson.test.mjs b/src/data/localGeojson.test.mjs index 6f6b3a27d..1c4499914 100644 --- a/src/data/localGeojson.test.mjs +++ b/src/data/localGeojson.test.mjs @@ -494,7 +494,7 @@ test('local infrastructure creates no native labels or per-frame geometry callba assert.doesNotMatch(source, /new Cesium\.CallbackProperty/); assert.match(source, /feature\.position = tip/); assert.match(source, /record\.entity\.position\.setValue\(record\.tip\)/); - assert.match(source, /const stemPositionBuffers = \[\[base, tip\], \[base, tip\]\]/); + assert.match(source, /const stemPositionBuffers = \[\s*\[base, tip\],\s*\[base, tip\],?\s*\]/); assert.match(source, /record\.entity\.polyline\.positions\.setValue\(stemPositions\)/); assert.match(source, /viewer\.camera\.moveEnd\.addEventListener/); assert.match(source, /if \(refreshStemGeometry \|\| terrainFloorChanged\)/);