Closed fzn0x closed 1 year ago
hi @fzn0x, first of all thanks for the PR but please add some test if you want the PR to be evaluated.
Thanks!
hi @fzn0x, first of all thanks for the PR but please add some test if you want the PR to be evaluated.
Thanks!
Do you have any suggestion how can I write the tests for it? since it's a file I don't want how I write my tests hurt you in the future.
Hi @fzn0x,
So just try to test a positive and negative test, to check that the file has been created you can use just existsSync
method, have a look to the existing test to see some examples.
Best Regards.
Hi @fzn0x,
So just a try to test a positive and negative test, to check that the file has been created you can use just
existsSync
method, have a look to the existing test to see some examples.Best Regards.
Thanks for the quick response!
Closed due to inactivity
@joolfe hi we can close this for now, still quite busy irl, I will reach back later!
This PR fix
[Error: ENOENT: no such file or directory, open 'D:\Projects\postman-to-markdown\api\collection.yml']
when the folder is not exist.