%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/vendor/bower-asset/yii2-pjax/script/
Upload File :
Create Path :
Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/vendor/bower-asset/yii2-pjax/script/test

#!/usr/bin/env bash
set -e

./node_modules/.bin/eslint *.js

port=3999
script/server -p "$port" &>/dev/null &
pid=$!

trap "kill $pid" EXIT INT

while ! lsof -i :$port >/dev/null; do
  sleep .05
done

phantomjs ./test/run-qunit.js \
  "http://localhost:$port/?jquery=3.2" \
  "http://localhost:$port/?jquery=2.2" \
  "http://localhost:$port/?jquery=1.12"

Zerion Mini Shell 1.0