refactor app directory structure and add tests
This commit is contained in:
16
tests/node_modules/nightwatch/bin/runner.js
generated
vendored
Normal file
16
tests/node_modules/nightwatch/bin/runner.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Module dependencies
|
||||
*/
|
||||
var Logger = require('../lib/util/logger.js');
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user