From 142b6fadaaf1dd439b2173d7a8d8918eb8aa15a1 Mon Sep 17 00:00:00 2001 From: Emanuele Zattin Date: Tue, 3 Jan 2017 12:21:23 +0100 Subject: [PATCH] Another fix --- scripts/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index c51ca996..077de7ce 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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