diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/node/scenarios.json | 9 | ||||
-rwxr-xr-x | test/node/version_none.sh | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/test/node/scenarios.json b/test/node/scenarios.json index 8f93d82..1240e61 100644 --- a/test/node/scenarios.json +++ b/test/node/scenarios.json @@ -16,5 +16,14 @@ "version": "latest" } } + }, + "version_none": { + "image": "mcr.microsoft.com/devcontainers/base", + "remoteUser": "vscode", + "features": { + "node": { + "version": "none" + } + } } }
\ No newline at end of file diff --git a/test/node/version_none.sh b/test/node/version_none.sh new file mode 100755 index 0000000..c7c9e57 --- /dev/null +++ b/test/node/version_none.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +check "nvm" bash -c ". /usr/local/share/nvm/nvm.sh && nvm install 10" + +# Report result +reportResults |