From 3e1431402fe1f81f3984d81e7efc867ac52d847e Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Thu, 12 Feb 2026 23:57:55 +0000 Subject: [PATCH 1/2] Initial plan From 9623cce3040bf7e573fbc85522ea9709cea9526c Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Fri, 13 Feb 2026 00:03:05 +0000 Subject: [PATCH 2/2] Fix brittle test assertions in custom marker function tests Co-authored-by: gatopeich <7722268+gatopeich@users.noreply.github.com> --- test/jasmine/tests/drawing_test.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/jasmine/tests/drawing_test.js b/test/jasmine/tests/drawing_test.js index ad4b5c58e89..557240a8851 100644 --- a/test/jasmine/tests/drawing_test.js +++ b/test/jasmine/tests/drawing_test.js @@ -668,10 +668,10 @@ describe('gradients', function() { } }]) .then(function() { - // Marker functions are called once per point (3 points = 3 calls). - // With selected.marker.size, selectedPointStyle triggers a second pass (6 calls). - expect(receivedArgs.length === 3 || receivedArgs.length === 6).toBe(true, - 'Expected 3 or 6 calls, got ' + receivedArgs.length); + // Marker functions are called once per point (3 points minimum). + // selectedPointStyle may trigger additional passes. + expect(receivedArgs.length >= 3).toBe(true, + 'Expected at least 3 calls, got ' + receivedArgs.length); // Verify r is passed correctly expect(typeof receivedArgs[0].r).toBe('number'); @@ -708,10 +708,10 @@ describe('gradients', function() { } }]) .then(function() { - // Marker functions are called once per point (3 points = 3 calls). - // With selected.marker.size, selectedPointStyle triggers a second pass (6 calls). - expect(receivedData.length === 3 || receivedData.length === 6).toBe(true, - 'Expected 3 or 6 calls, got ' + receivedData.length); + // Marker functions are called once per point (3 points minimum). + // selectedPointStyle may trigger additional passes. + expect(receivedData.length >= 3).toBe(true, + 'Expected at least 3 calls, got ' + receivedData.length); // Verify all expected customdata types were received var receivedTypes = receivedData.map(function(d) { return d ? d.type : null; });