Browse Source

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
pull/1196/head
Julian Simioni 6 years ago
parent
commit
8f159ceda7
No known key found for this signature in database
GPG Key ID: B9EEB0C6EE0910A1
  1. 4
      bin/units

4
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

Loading…
Cancel
Save