nvm/test/fast/Running "nvm alias" should create a file in the alias directory.
2021-07-15 20:01:57 -04:00

10 lines
109 B
Bash

#!/bin/sh
set -ex
\. ../../nvm.sh
nvm alias test v0.1.2
[ "$(cat "$(nvm_alias_path)/test")" = "v0.1.2" ]