Skip to content

Commit c68164d

Browse files
committed
fix(cli) Wrong tests for drafting, missing parameters
Signed-off-by: Jerome Simeon <jeromesimeon@me.com>
1 parent 7b6b0ba commit c68164d

File tree

1 file changed

+2
-2
lines changed
  • packages/cicero-cli/test

1 file changed

+2
-2
lines changed

packages/cicero-cli/test/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,14 +296,14 @@ describe('#draft-output', async () => {
296296
});
297297

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

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

0 commit comments

Comments
 (0)