@@ -143,7 +143,7 @@ describe('filter transforms calc:', function() {
143143 expect ( out [ 0 ] . x ) . toEqual ( [ 0 , 1 ] ) ;
144144 expect ( out [ 0 ] . y ) . toEqual ( [ 1 , 2 ] ) ;
145145 expect ( out [ 0 ] . z ) . toEqual ( [ '2016-10-21' , '2016-12-02' ] ) ;
146- expect ( out [ 0 ] . transforms [ 0 ] . indexToPoints ) . toEqual ( { 0 : [ 3 ] , 1 : [ 4 ] } ) ;
146+ expect ( out [ 0 ] . transforms [ 0 ] . _indexToPoints ) . toEqual ( { 0 : [ 3 ] , 1 : [ 4 ] } ) ;
147147 } ) ;
148148
149149 it ( 'should use the calendar from the target attribute if target is a string' , function ( ) {
@@ -262,7 +262,7 @@ describe('filter transforms calc:', function() {
262262 expect ( out [ 0 ] . x ) . toEqual ( [ - 2 , 2 , 3 ] ) ;
263263 expect ( out [ 0 ] . y ) . toEqual ( [ 3 , 3 , 1 ] ) ;
264264 expect ( out [ 0 ] . marker . color ) . toEqual ( [ 0.3 , 0.3 , 0.4 ] ) ;
265- expect ( out [ 0 ] . transforms [ 0 ] . indexToPoints ) . toEqual ( { 0 : [ 2 ] , 1 : [ 5 ] , 2 : [ 6 ] } ) ;
265+ expect ( out [ 0 ] . transforms [ 0 ] . _indexToPoints ) . toEqual ( { 0 : [ 2 ] , 1 : [ 5 ] , 2 : [ 6 ] } ) ;
266266 } ) ;
267267
268268 it ( 'filters should handle array on base trace attributes' , function ( ) {
@@ -316,8 +316,8 @@ describe('filter transforms calc:', function() {
316316
317317 expect ( out [ 0 ] . x ) . toEqual ( [ 1 , 2 ] ) ;
318318 expect ( out [ 0 ] . y ) . toEqual ( [ 2 , 3 ] ) ;
319- expect ( out [ 0 ] . transforms [ 0 ] . indexToPoints ) . toEqual ( { 0 : [ 4 ] , 1 : [ 5 ] , 2 : [ 6 ] } ) ;
320- expect ( out [ 0 ] . transforms [ 1 ] . indexToPoints ) . toEqual ( { 0 : [ 4 ] , 1 : [ 5 ] } ) ;
319+ expect ( out [ 0 ] . transforms [ 0 ] . _indexToPoints ) . toEqual ( { 0 : [ 4 ] , 1 : [ 5 ] , 2 : [ 6 ] } ) ;
320+ expect ( out [ 0 ] . transforms [ 1 ] . _indexToPoints ) . toEqual ( { 0 : [ 4 ] , 1 : [ 5 ] } ) ;
321321 } ) ;
322322
323323 it ( 'filters should chain as AND (case 2)' , function ( ) {
@@ -343,8 +343,8 @@ describe('filter transforms calc:', function() {
343343
344344 expect ( out [ 0 ] . x ) . toEqual ( [ 3 ] ) ;
345345 expect ( out [ 0 ] . y ) . toEqual ( [ 1 ] ) ;
346- expect ( out [ 0 ] . transforms [ 0 ] . indexToPoints ) . toEqual ( { 0 : [ 4 ] , 1 : [ 5 ] , 2 : [ 6 ] } ) ;
347- expect ( out [ 0 ] . transforms [ 2 ] . indexToPoints ) . toEqual ( { 0 : [ 6 ] } ) ;
346+ expect ( out [ 0 ] . transforms [ 0 ] . _indexToPoints ) . toEqual ( { 0 : [ 4 ] , 1 : [ 5 ] , 2 : [ 6 ] } ) ;
347+ expect ( out [ 0 ] . transforms [ 2 ] . _indexToPoints ) . toEqual ( { 0 : [ 6 ] } ) ;
348348 } ) ;
349349
350350 it ( 'should preserve gaps in data when `preservegaps` is turned on' , function ( ) {
0 commit comments