From fbea9b3af9501da669b7eb8f6fc87cd071b0ceec Mon Sep 17 00:00:00 2001 From: AdrieanKhisbe Date: Thu, 17 Oct 2024 16:07:06 +0200 Subject: [PATCH] Fake nvm for light integration tests :innocent: --- scripts/integration-test.sh | 1 + test/integration/nvm.sh | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 test/integration/nvm.sh diff --git a/scripts/integration-test.sh b/scripts/integration-test.sh index 03577a87..c3cc718f 100755 --- a/scripts/integration-test.sh +++ b/scripts/integration-test.sh @@ -4,6 +4,7 @@ set -e echo "> Linking update-node" npm link echo +export NVM_DIR="$(realpath "$(dirname "$0")/../test/integration")" cd test/integration if [ -d .git ]; then diff --git a/test/integration/nvm.sh b/test/integration/nvm.sh new file mode 100644 index 00000000..3c14437a --- /dev/null +++ b/test/integration/nvm.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +function nvm () { + echo nope nope +}