Skip to content

Commit

Permalink
Fake nvm for light integration tests 😇
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrieanKhisbe committed Oct 17, 2024
1 parent d6af181 commit bf274cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/integration/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.14.2
v18.20.4
5 changes: 5 additions & 0 deletions test/integration/nvm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# Fake nope nvm sh
function nvm () {
echo nope nope
}

0 comments on commit bf274cc

Please sign in to comment.