initial commit
This commit is contained in:
commit
d3fcd7f10c
3159 files changed
+349702
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
/*!
|
||||
* Should
|
||||
* Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca>
|
||||
* MIT Licensed
|
||||
*/
|
||||
|
||||
module.exports = function(should, Assertion) {
|
||||
Assertion.add('true', function() {
|
||||
this.is.exactly(true)
|
||||
}, true);
|
||||
|
||||
Assertion.add('false', function() {
|
||||
this.is.exactly(false)
|
||||
}, true);
|
||||
|
||||
Assertion.add('ok', function() {
|
||||
this.params = { operator: 'to be truthy' };
|
||||
|
||||
this.assert(this.obj);
|
||||
}, true);
|
||||
};
|
||||
Reference in new issue
Block a user