index.js
function (cb) {
					Nightwatch.runner(argv, function (status) {
						var err = null;
						if (status) {
							console.log([moment().format('HH:mm:ss:SSS')] + ' kne: tests passed');
						} else {
							console.log([moment().format('HH:mm:ss:SSS')] + ' kne: tests failed');
							err = new Error('kne: nightwatch runner returned an error status code');
						}
						cb(err);
					});
				}
function (cb) {
					Nightwatch.runner(argv, function (status) {
						var err = null;
						if (status) {
							console.log([moment().format('HH:mm:ss:SSS')] + ' kne: tests passed');
						} else {
							console.log([moment().format('HH:mm:ss:SSS')] + ' kne: tests failed');
							err = new Error('kne: nightwatch runner returned an error status code');
						}
						cb(err);
					});
				}
function ( cb ) { Nightwatch . runner ( argv , function ( status ) { var err = null ; if ( status ) { console . log ( [ moment ( ) . format ( 'HH:mm:ss:SSS' ) ] + ' kne: tests passed' ) ; } else { console . log ( [ moment ( ) . format ( 'HH:mm:ss:SSS' ) ] + ' kne: tests failed' ) ; err = new Error ( 'kne: nightwatch runner returned an error status code' ) ; } cb ( err ) ; } ) ; }
Run nightwatch to start executing the tests
Run nightwatch to start executing the tests