isaacs / isexe

Minimal module to check if a file is executable.
ISC License
48 stars 17 forks source link

Skip 'promise > meow async' on Windows #20

Open Gudahtt opened 6 years ago

Gudahtt commented 6 years ago

This test checks whether the file meow.cat is executable. On Windows, it determines this by checking whether the file extension is in the PathExt environment variable. cat is not typically in PathExt, so this test will always fail on Windows.

The functionality being tested is already covered by similar windows-only tests (windows > pathExt env > meow async in particular), so it should be safe to ignore without reducing coverage.

Closes #19