-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed lint issue and added a test placeholder. Will add more tests soon
- Loading branch information
Showing
5 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ CVS/ | |
.svn | ||
*~ | ||
.com.apple.timemachine.supported | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
var vows = require('vows'), | ||
assert = require('assert'), | ||
checker = require('../lib/index'); | ||
|
||
var tests = { | ||
loading: { | ||
topic: function() { | ||
return checker; | ||
}, | ||
'should load init': function(topic) { | ||
assert.isFunction(topic.init); | ||
}, | ||
'should load print': function(topic) { | ||
assert.isFunction(topic.print); | ||
} | ||
} | ||
}; | ||
|
||
|
||
|
||
vows.describe('license-checker').addBatch(tests).export(module); |