Closed LucaSoldi closed 5 years ago
Would you be able to update the tests to add win32 as well?
Ops sorry, now tests are ok 👍
@DylanPiercey looks good to me, what do you think?
I was hoping to get a test that covered the change, but if you both have tested this the. It’s fine by me 🙂
I was hoping to get a test that covered the change, but if you both have tested this the. It’s fine by me 🙂
The test is updated to cover this pull, tell me if I missed something :)
@DylanPiercey I was not yet able to test it on windows, but travis says it's still working.
@LucaSoldi Where did you update the test? I can't see any changed test file in your PR. Have you tried it on your win?
Hi @DylanPiercey, what do you suggest what we do with this PR? Merge and release a new version?
@natterstefan I'm fine with it being merged. Again I'd like to see a proper test, but it's a bit tricky I suppose to fake with the CI.
@DylanPiercey Good idea with the CI. Let's see how we need to handle the mocked IPs in travis differently in the windows case then: https://github.com/DylanPiercey/local-devices/blob/4403a8cf431e3f7dafa4d0f4ba59126c836fdcd4/jest-setup.js#L26-L31.
Windows 10 return string from child_process that doesn't contain "\t" characters. I tested this split function on a Win7/10 and it works like a charm :)