Skip to content

Commit

Permalink
🔒 handling of isLinkedToArray attrs in transforms
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Jun 16, 2017
1 parent 6f03e6b commit cb27969
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 cb27969

Please sign in to comment.