From 428df1adefe1ff264614f17e1a910d807e70b5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Wed, 3 Jul 2019 15:17:13 -0400 Subject: [PATCH] fixup noci_test.sh post indicator merge - add indicator mock to svg mock list - set _length=null to disable 1D transforms (for now) --- src/traces/indicator/defaults.js | 3 +++ test/jasmine/assets/mock_lists.js | 1 + 2 files changed, 4 insertions(+) diff --git a/src/traces/indicator/defaults.js b/src/traces/indicator/defaults.js index 4c13c5ad713..6b34a56d058 100644 --- a/src/traces/indicator/defaults.js +++ b/src/traces/indicator/defaults.js @@ -141,6 +141,9 @@ function supplyDefaults(traceIn, traceOut, defaultColor, layout) { coerce('align', 'center'); traceOut._isAngular = traceOut._isBullet = false; } + + // disable 1D transforms + traceOut._length = null; } function stepDefaults(stepIn, stepOut) { diff --git a/test/jasmine/assets/mock_lists.js b/test/jasmine/assets/mock_lists.js index 7d962d594d5..fb86512af6b 100644 --- a/test/jasmine/assets/mock_lists.js +++ b/test/jasmine/assets/mock_lists.js @@ -22,6 +22,7 @@ var svgMockList = [ ['cheater_smooth', require('@mocks/cheater_smooth.json')], ['finance_style', require('@mocks/finance_style.json')], ['geo_first', require('@mocks/geo_first.json')], + ['indicator_bignumber', require('@mocks/indicator_bignumber.json')], ['layout_image', require('@mocks/layout_image.json')], ['layout-colorway', require('@mocks/layout-colorway.json')], ['multicategory', require('@mocks/multicategory.json')],