UNPKG

232 Bapplication/x-shView Raw
1#!/bin/bash
2
3set -eo pipefail
4
5ROOT="$(cd "$(dirname "$0")/.." && pwd)"
6
7main() {
8 echo "** Starting xvfb"
9 export DISPLAY=:99
10 /usr/bin/Xvfb $DISPLAY &
11 echo "** Started xvfb"
12
13 npm rebuild
14 npm install
15 npm test
16}
17
18main $@
19
\No newline at end of file