diff options
Diffstat (limited to 'test/node/install_additional_node.sh')
-rw-r--r-- | test/node/install_additional_node.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/node/install_additional_node.sh b/test/node/install_additional_node.sh new file mode 100644 index 0000000..83dae86 --- /dev/null +++ b/test/node/install_additional_node.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# 'latest' is some version of node 18 for a while. +check "version_on_path" node -v | grep 18 + +check "v18_installed" ls -1 /usr/local/share/nvm/versions/node | grep 18 +check "v14_installed" ls -1 /usr/local/share/nvm/versions/node | grep 14.19.3 +check "v17_installed" ls -1 /usr/local/share/nvm/versions/node | grep 17.9.1 + + +# Report result +reportResults |