From 8f159ceda7a25a9445dac8377271089190cbbdd8 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Wed, 12 Sep 2018 18:26:31 -0400 Subject: [PATCH] chore(tests): Update test running script with latest info Use npx instead of calling binaries in node_modules, and link to relevant issue. Connects https://github.com/pelias/pelias/issues/744 --- bin/units | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/units b/bin/units index b011e2ee..fa0ea072 100755 --- a/bin/units +++ b/bin/units @@ -1,5 +1,7 @@ #!/bin/bash +# run tests with pipefail to avoid false passes +# see https://github.com/pelias/pelias/issues/744 set -euo pipefail -node test/unit/run.js | ./node_modules/.bin/tap-dot +node test/unit/run.js | npx tap-dot