Skip to content

Commit 6e4f7c0

Browse files
committed
Fix multi test to use styles instead of style
1 parent 6f03e6b commit 6e4f7c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/jasmine/tests/transform_multi_test.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ describe('multiple transforms:', function() {
227227
transforms: [{
228228
type: 'groupby',
229229
groups: ['a', 'a', 'b', 'a', 'b', 'b', 'a'],
230-
style: [{
230+
styles: [{
231231
target: 'a',
232232
value: {marker: {color: 'red'}},
233233
}, {
@@ -247,7 +247,7 @@ describe('multiple transforms:', function() {
247247
transforms: [{
248248
type: 'groupby',
249249
groups: ['b', 'a', 'b', 'b', 'b', 'a', 'a'],
250-
style: [{
250+
styles: [{
251251
target: 'a',
252252
value: {marker: {color: 'green'}}
253253
}, {
@@ -343,7 +343,7 @@ describe('multiple transforms:', function() {
343343
expect(gd._fullData[1].marker.opacity).toEqual(1);
344344

345345
return Plotly.restyle(gd, {
346-
'transforms[0].style': [[{
346+
'transforms[0].styles': [[{
347347
target: 'a',
348348
value: {marker: {color: 'green'}}
349349
}, {
@@ -457,7 +457,7 @@ describe('multiple traces with transforms:', function() {
457457
transforms: [{
458458
type: 'groupby',
459459
groups: ['a', 'a', 'b', 'a', 'b', 'b', 'a'],
460-
style: [{
460+
styles: [{
461461
target: 'a',
462462
value: {marker: {color: 'red'}},
463463
}, {
@@ -534,7 +534,7 @@ describe('multiple traces with transforms:', function() {
534534
});
535535

536536
return Plotly.restyle(gd, {
537-
'transforms[0].style': [[{
537+
'transforms[0].styles': [[{
538538
target: 'a',
539539
value: {marker: {color: 'green'}},
540540
}, {

0 commit comments

Comments
 (0)