Skip to content

Commit

Permalink
Merge branch 'transform-style-rework-2' of github.com:plotly/plotly.j…
Browse files Browse the repository at this point in the history
…s into transform-style-rework-2
  • Loading branch information
rreusser committed Jun 16, 2017
2 parents 6e4f7c0 + cb27969 commit 836f412
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/jasmine/tests/plotschema_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,13 @@ describe('plot schema', function() {
});
});

it('should work with registered transforms (2)', function() {
var valObjects = plotSchema.transforms.groupby.attributes;
var items = valObjects.styles.items || {};

expect(Object.keys(items)).toEqual(['style']);
});

it('should work with registered components', function() {
expect(plotSchema.traces.scatter.attributes.xcalendar.valType).toEqual('enumerated');
expect(plotSchema.traces.scatter3d.attributes.zcalendar.valType).toEqual('enumerated');
Expand Down

0 comments on commit 836f412

Please sign in to comment.