Skip to content

Commit

Permalink
(chore) added unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman committed May 31, 2018
1 parent f57cb76 commit be28047
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cicero-core/test/clause.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ describe('Clause', () => {
};
clause.setData(data);
clause.getData().should.eql(data);

// check that the composer data is really a Composer object
clause.getDataAsComposerObject().getFullyQualifiedType().should.be.equal('io.clause.latedeliveryandpenalty.TemplateModel');
});
it('should throw error for bad $class', async function() {
const template = await Template.fromDirectory('./test/data/latedeliveryandpenalty');
Expand Down

0 comments on commit be28047

Please sign in to comment.