diff --git a/scripts/test.sh b/scripts/test.sh index ef7d81dc..6fb10a4a 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -64,7 +64,7 @@ stop_server() { echo stopping server if [[ ${SERVER_PID} -gt 0 ]] ; then echo server is running. killing it - kill -9 ${SERVER_PID} + kill -9 ${SERVER_PID} || true fi } diff --git a/tests/js/index.js b/tests/js/index.js index c5f98bd4..4222474a 100644 --- a/tests/js/index.js +++ b/tests/js/index.js @@ -47,7 +47,8 @@ if (global.enableSyncTests) { // FIXME: Permission tests currently fail in chrome debugging mode. if (typeof navigator === 'undefined' || !/Chrome/.test(navigator.userAgent)) { // eslint-disable-line no-undef - TESTS.PermissionTests = require('./permission-tests'); + + TESTS.PermissionTests = require('./permission-tests'); } }