summaryrefslogtreecommitdiffstats
path: root/autotest-js.sh
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-01-06 13:33:18 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-01-06 13:33:18 +0100
commitccab1168cee83509e57fb1d6e843c989cab634ba (patch)
tree2d6a230496d8ffe42a825f7c3d7d9abb6730e450 /autotest-js.sh
parent5e02c7f7bd152ce731a5d9796ba87bd72c2fb3fc (diff)
downloadnextcloud-server-ccab1168cee83509e57fb1d6e843c989cab634ba.tar.gz
nextcloud-server-ccab1168cee83509e57fb1d6e843c989cab634ba.zip
Fix js tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'autotest-js.sh')
-rwxr-xr-xautotest-js.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/autotest-js.sh b/autotest-js.sh
index 475a61df59e..bd7310c4e43 100755
--- a/autotest-js.sh
+++ b/autotest-js.sh
@@ -22,6 +22,10 @@ fi
# update/install test packages
mkdir -p "$PREFIX" && $NPM install --link --prefix "$PREFIX" || exit 3
+# create scss test
+mkdir -p tests/css
+./build/bin/node-sass --output tests/css core/css
+
KARMA="$PREFIX/node_modules/karma/bin/karma"
NODE_PATH='build/node_modules' KARMA_TESTSUITE="$1" $KARMA start tests/karma.config.js --single-run