diff --git a/scripts/authelia-scripts-travis b/scripts/authelia-scripts-travis index 5ff2bbe3..0454d38e 100755 --- a/scripts/authelia-scripts-travis +++ b/scripts/authelia-scripts-travis @@ -12,11 +12,11 @@ echo "npm `npm -v`" # Run unit tests authelia-scripts unittest -# Run integration tests -authelia-scripts test --headless test/suites/**/*.ts - # Build authelia-scripts build +# Run integration tests +authelia-scripts test --headless test/suites/**/*.ts + # Test npm deployment before actual deployment # ./scripts/npm-deployment-test.sh diff --git a/test/helpers/context/WithAutheliaRunning.ts b/test/helpers/context/WithAutheliaRunning.ts index 2bf96b25..f6de89c0 100644 --- a/test/helpers/context/WithAutheliaRunning.ts +++ b/test/helpers/context/WithAutheliaRunning.ts @@ -11,8 +11,8 @@ export default function WithAutheliaRunning(configPath: string, waitTimeout: num ['serve', '--no-watch', '--config', configPath], {detached: true}); - authelia.on('exit', function() { - console.log('Server terminated.'); + authelia.on('exit', function(status) { + console.log('Server terminated with status ' + status); }); this.authelia = authelia;