diff --git a/scripts/test.sh b/scripts/test.sh index 077de7ce..4c5c54f0 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -344,7 +344,7 @@ case "$TARGET" in # 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" mkdir -p "$SRCROOT/tests/test-runners/node-modules" - ln -s "$SRCROOT" "$SRCROOT/tests/test-runners/node-modules/realm" + ln -s "../../.." "$SRCROOT/tests/test-runners/node-modules/realm" npm install --build-from-source