first commit
This commit is contained in:
19
vendor/yidas/yii2-bower-asset/bower/yii2-pjax/script/test
vendored
Executable file
19
vendor/yidas/yii2-bower-asset/bower/yii2-pjax/script/test
vendored
Executable file
@ -0,0 +1,19 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user