File: test-multicoin-address-validator

package info (click to toggle)
node-crc 4.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,344 kB
  • sloc: python: 3,073; xml: 632; javascript: 327; sh: 299; ansic: 227; makefile: 24
file content (23 lines) | stat: -rwxr-xr-x 516 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash -e

cd tests

if [ ! -d ./multicoin-address-validator ]; then
  (
    git clone https://github.com/christsim/multicoin-address-validator.git ./multicoin-address-validator
    cd multicoin-address-validator
    git checkout f8f3626f441c0d53fdc3b89678629dc1d33c0546
  )
fi

cd multicoin-address-validator

if [ ! -d node_modules ]; then
  npm install
fi

npm install ../../dist

$(npm bin)/mocha --config=../.mocharc-multicoin-address-validator.js test

echo "👍 multicoin-address-validator tests okay!"