refactor app directory structure and add tests

This commit is contained in:
s2
2016-11-10 16:27:26 +01:00
parent 204834ce28
commit dd88218c0e
1844 changed files with 263520 additions and 0 deletions

16
tests/node_modules/nightwatch/bin/runner.js generated vendored Normal file
View 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);
}