mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-01-31 00:00:03 +08:00
- feature #24: extended behaviour of "setHeader" method
- added test suite for www interface of plugin (js files)
This commit is contained in:
@@ -9,7 +9,7 @@ CDV=$ROOT/node_modules/.bin/cordova
|
||||
rm -rf $ROOT/temp
|
||||
mkdir $ROOT/temp
|
||||
cp -r $ROOT/test/app-template/ $ROOT/temp/
|
||||
cp $ROOT/test/test-definitions.js $ROOT/temp/www/js/
|
||||
cp $ROOT/test/app-test-definitions.js $ROOT/temp/www/js/
|
||||
cd $ROOT/temp
|
||||
$CDV prepare
|
||||
$CDV plugins add $ROOT
|
||||
|
||||
@@ -4,5 +4,5 @@ set -e
|
||||
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
|
||||
|
||||
pushd $ROOT
|
||||
./node_modules/.bin/mocha ./test/mocha-specs/test.js "$@"
|
||||
./node_modules/.bin/mocha ./test/app-mocha-specs/test.js "$@"
|
||||
popd
|
||||
Reference in New Issue
Block a user