aboutsummaryrefslogtreecommitdiff
path: root/test/node/install_nvm_0.39.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/install_nvm_0.39.sh')
-rwxr-xr-xtest/node/install_nvm_0.39.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/node/install_nvm_0.39.sh b/test/node/install_nvm_0.39.sh
new file mode 100755
index 0000000..6b96381
--- /dev/null
+++ b/test/node/install_nvm_0.39.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "version" bash -c "node --version"
+check "pnpm" pnpm -v
+check "nvm version" bash -c ". /usr/local/share/nvm/nvm.sh && nvm --version | grep 0.39"
+
+# Report result
+reportResults