dojo / cli

:rocket: Dojo - command line tooling.
http://dojo.io
Other
25 stars 34 forks source link

Remove 'CommandsMap' from 'Command' interface #84

Closed rishson closed 7 years ago

rishson commented 7 years ago

Fixes #83. allCommands is an async function that maintains a cache of all the commands (installed and built-in). This module is used by both the cli and the built-in version command.

In addition: MockModule now able to mock modules that are relative to module under test (but not in same dir). Typings for sinon-as-promised.

codecov-io commented 7 years ago

Current coverage is 99.14% (diff: 100%)

Merging #84 into master will increase coverage by 0.04%

@@             master        #84   diff @@
==========================================
  Files            10         11     +1   
  Lines           222        235    +13   
  Methods           0          0          
  Messages          0          0          
  Branches         19         20     +1   
==========================================
+ Hits            220        233    +13   
  Misses            0          0          
  Partials          2          2          

Powered by Codecov. Last update 924130a...487901d