PeerTube/scripts/test.sh

7 lines
160 B
Bash
Executable File

#!/bin/bash
npm run build:server || exit -1
npm run travis -- lint || exit -1
mocha --exit --require ts-node/register/type-check --bail server/tests/index.ts