@@ -1,5 +1,11 @@
|
||||
getJasmineRequireObj().toBeTruthy = function() {
|
||||
|
||||
/**
|
||||
* {@link expect} the actual value to be truthy.
|
||||
* @function
|
||||
* @name matchers#toBeTruthy
|
||||
* @example
|
||||
* expect(thing).toBeTruthy();
|
||||
*/
|
||||
function toBeTruthy() {
|
||||
return {
|
||||
compare: function(actual) {
|
||||
|
||||
Reference in New Issue
Block a user