Skip to content

Commit

Permalink
fix(cli) Wrong tests for drafting, missing parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <jeromesimeon@me.com>
  • Loading branch information
jeromesimeon committed Apr 24, 2021
1 parent 7b6b0ba commit c68164d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cicero-cli/test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,14 +296,14 @@ describe('#draft-output', async () => {
});

it('should create the slate for a clause using a template and save to a JSON file', async () => {
const result = await Commands.draft(template, data, sampleOutJson, null, { format: 'slate' });
const result = await Commands.draft(template, data, sampleOutJson, null, null, { format: 'slate' });
delete result.clauseId;
delete result.$identifier;
result.should.not.be.null;
});

it('should create the slate for a ciceromark_parsed using a template and save to a JSON file', async () => {
const result = await Commands.draft(template, data, sampleOutJson, null, { format: 'ciceromark_parsed' });
const result = await Commands.draft(template, data, sampleOutJson, null, null, { format: 'ciceromark_parsed' });
delete result.clauseId;
delete result.$identifier;
result.should.not.be.null;
Expand Down

0 comments on commit c68164d

Please sign in to comment.