test/helpers.js
/**
 * Primary test function for testing argument parsing etc
 */
Primary test function for testing argument parsing etc
Primary test function for testing argument parsing etc
async function testCLI (args) {
  logger.messages = []
  await cli.parse(['process', 'stencila'].concat(args))
  return logger
}
async function testCLI ( args ) { logger . messages = [ ] await cli . parse ( [ 'process' , 'stencila' ] . concat ( args ) ) return logger }
Primary test function for testing argument parsing etc
Primary test function for testing argument parsing etc
// Clear logger messages before running