text: var Jasmine = require('jasmine');
  var Reporter = require('jasmine-terminal-reporter');
  
  const args = require('yargs').argv;
  var showOutput = (args.output) ? true : false;
  
  var jasmine = new Jasmine();
  
  jasmine.loadConfigFile('spec/support/jasmine.json');
  
  
  jasmine.onComplete(function(passed) {
    if(passed) {
      console.log('All specs have passed');
    }
    else {
      console.log('At least one spec has failed');
    }
  });
  
  // add our reporter
  if(showOutput){
    var reporter = new Reporter({
      isVerbose : true
    });
    jasmine.addReporter(reporter);
  }
  
  console.log('Starting unit tests...');
  jasmine.execute();