frappe_docker/frappe-bench/node_modules/nightwatch/bin/runner.js
2017-07-31 15:51:51 +05:30

15 lines
387 B
JavaScript

/**
* Module dependencies
*/
var Nightwatch = require('../lib/index.js');
var Utils = require('../lib/util/utils.js');
try {
Nightwatch.cli(function(argv) {
argv._source = argv['_'].slice(0);
Nightwatch.runner(argv);
});
} catch (ex) {
Utils.showStackTraceWithHeadline('There was an error while starting the test runner:\n', ex.stack + '\n', true);
process.exit(2);
}