Open belkarx opened 2 years ago
Thanks for the report. My guess is a missing installation of Git LFS. The error should be of course handled gracefully but it could explain why the tests didn't go through in the first place.
Installing git-lfs
resolves the problem. Maybe add a note that it's necessary in CONTRIBUTING.md? [Seems to be an overall Linux issue - I assumed just Arch however Debian doesn't package git-lfs
with git
either]
Describe the bug Upon cloning the repo and running tests (with no alteration), I get an error in :
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect tests to pass on a fresh install
Desktop (please complete the following information):
OS: Arch Linux
Other Information Other tests in 1.sys.test.ts fail as well with the same error. I believe it originates in
getRepoDetails
(looks likeos.rmdirSync
is causing issues) as tests pass once all tests calling that are commented out.