You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
610 B

---
source: tests/e2e.rs
expression: "&source.trim()"
---
fnm env | source
echo v8.10.0 > .nvmrc
fnm install
fnm install v6.10.0
fnm install v10.10.0
if test (fnm exec -- node -v) != "v8.10.0"
echo 'Expected version file exec to be "v8.10.0", Got: '(fnm exec -- node -v)
exit 1
end
if test (fnm exec --using=6 -- node -v) != "v6.10.0"
echo 'Expected exec:6 node -v to be "v6.10.0", Got: '(fnm exec --using=6 -- node -v)
exit 1
end
if test (fnm exec --using=10 -- node -v) != "v10.10.0"
echo 'Expected exec:6 node -v to be "v10.10.0", Got: '(fnm exec --using=10 -- node -v)
exit 1
end