Closed reggi closed 6 years ago
I am trying to write a test using the nvm command. Below I have an example I get nvm: command not found.
nvm
nvm: command not found
#!/usr/bin/env bats . ~/.nvm/nvm.sh @test "install axp-app/axp-acq-app with nvm 6.8.0" { nvm use 6.8.0 [ "$status" -eq 0 ] }
I've tried the following:
. ~/.nvm/nvm.sh
and
source ~/.nvm/nvm.sh
This worked!
#!/usr/bin/env bats @test "install axp-app/axp-acq-app with nvm 6.8.0" { . ~/.nvm/nvm.sh nvm use 6.8.0 [ "$status" -eq 0 ] }
I am trying to write a test using the
nvm
command. Below I have an example I getnvm: command not found
.I've tried the following:
. ~/.nvm/nvm.sh
and
source ~/.nvm/nvm.sh