Fix Jenkins builds by rewriting the symlink

This commit is contained in:
Emanuele Zattin 2017-01-03 11:32:30 +01:00
parent 3afb9ff017
commit 952b3f719b
2 changed files with 4 additions and 1 deletions

View File

@ -341,6 +341,10 @@ case "$TARGET" in
popd
;;
"test-runners")
# Create a fake realm module that points to the source root so that test-runner tests can require('realm')
rm -rf "$SRCROOT/tests/test-runners/node-modules/realm"
ln -s "$SRCROOT" "$SRCROOT/tests/test-runners/node-modules/realm"
npm install --build-from-source
for runner in ava mocha jest; do

View File

@ -1 +0,0 @@
../../..