shelljs / shx

Portable Shell Commands for Node
MIT License
1.73k stars 45 forks source link

test: add unit tests for grep and chmod #76

Closed nfischer closed 8 years ago

nfischer commented 8 years ago

This adds unit tests for these commands, giving us a little more assurance that they work correctly and won't break in the future. This skips chmod tests since ShellJS skips them for Windows.

codecov-io commented 8 years ago

Current coverage is 83.33% (diff: 100%)

Merging #76 into master will not change coverage

@@             master        #76   diff @@
==========================================
  Files             2          2          
  Lines            18         18          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits             15         15          
  Misses            3          3          
  Partials          0          0          

Powered by Codecov. Last update cb79987...6af3af3

ariporad commented 8 years ago

LGTM!