- feature #24: extended behaviour of "setHeader" method

- added test suite for www interface of plugin (js files)
This commit is contained in:
Sefa Ilkimen
2017-10-20 17:22:51 +02:00
parent 1375727316
commit d7e13b046b
16 changed files with 149 additions and 36 deletions

View File

@@ -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

View File

@@ -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