Another fix

This commit is contained in:
Emanuele Zattin 2017-01-03 12:21:23 +01:00
parent 08b2a3da43
commit 142b6fadaa

View File

@ -343,7 +343,8 @@ case "$TARGET" in
"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/tests/test-runners/node-modules/realm" "$SRCROOT"
mkdir -p "$SRCROOT/tests/test-runners/node-modules"
ln -s "$SRCROOT" "$SRCROOT/tests/test-runners/node-modules/realm"
npm install --build-from-source