[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 authored and Jordan Harband committed 2019-02-27 10:50:59 +01:00
1 parent 43402df896
commit a1abfd1fe4
3 files changed
+20 -27

No files matched your search

+3 -3
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