Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
danez authored and vmarchaud committed Oct 25, 2017
1 parent 1fee1d0 commit 38425d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/interface/utility.mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ describe('Utility', function() {
assert(Utility.getCanonicModuleName('@org/pm2-slack') === 'pm2-slack');
assert(Utility.getCanonicModuleName('git+https://github.com/user/pm2-slack') === 'pm2-slack');
assert(Utility.getCanonicModuleName('git+https://github.com/user/pm2-slack.git') === 'pm2-slack');
assert(Utility.getCanonicModuleName('file:///home/user/pm2-slack') === 'pm2-slack');
assert(Utility.getCanonicModuleName('file://./pm2-slack') === 'pm2-slack');
assert(Utility.getCanonicModuleName('file:///home/user/pm2-slack/') === 'pm2-slack');
});
});

});

0 comments on commit 38425d4

Please sign in to comment.