test: allow line wrapping in the stem buffer regression pin

This commit is contained in:
Sameh Khamis committed 2026-09-11 16:07:53 -07:00
1 parent 76ddc6a9ef
commit 04f4d54bfe
1 file changed
+1 -1
+1 -1
View File
@@ -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\)/);