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\)/);