From 7b85eef104a18c47619c41ba3d3faa3191067965 Mon Sep 17 00:00:00 2001 From: ChrisBeWithYou Date: Mon, 20 Jul 2026 22:48:23 -0500 Subject: [PATCH] Update reconnect source contract test --- tests/js/highway_chart_transform.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js/highway_chart_transform.test.js b/tests/js/highway_chart_transform.test.js index 21bcb48..dc692e2 100644 --- a/tests/js/highway_chart_transform.test.js +++ b/tests/js/highway_chart_transform.test.js @@ -316,7 +316,7 @@ test('anchor zoom helpers read the staged anchors first', () => { test('init and reconnect clear the stage but keep the provider', () => { const src = fs.readFileSync(highwayJs, 'utf8'); const initBody = extractBlock(src, 'init(canvasEl, container)'); - const reconnectBody = extractBlock(src, 'reconnect(filename, arrangement)'); + const reconnectBody = extractBlock(src, 'reconnect(filename, arrangement, drumPart)'); assert.match(initBody, /_clearChartTransformStage\(\);/, 'init clears the stage'); assert.match(reconnectBody, /_clearChartTransformStage\(\);/, 'reconnect clears the stage'); assert.ok(!/init\([\s\S]{0,2000}_xfProvider = null/.test(src.slice(src.indexOf('const api = {'))),