[Tests] use rimraf over rmdir in teardowns

- fix test 'Running "nvm ls" should display all installed versions.': only expect versions created by this test, but no versions created by other tests
This commit is contained in:
Christopher Sahnwaldt
2019-02-27 10:50:59 +01:00
committed by Jordan Harband
parent 43402df896
commit a1abfd1fe4
3 changed files with 20 additions and 27 deletions

View File

@@ -1,3 +1,3 @@
rmdir ../../../v0.0.2 >/dev/null 2>&1
rmdir ../../../v0.0.20 >/dev/null 2>&1
rmdir ../../../v0.12.0 >/dev/null 2>&1
rm -rf ../../../v0.0.2
rm -rf ../../../v0.0.20
rm -rf ../../../v0.12.0