Matchers & Matchers specs now broken up into individual files. There is now a requireMatchers jasmineRequire function to attach matchers properly.
This commit is contained in:
14
src/core/matchers/toBeLessThan.js
Normal file
14
src/core/matchers/toBeLessThan.js
Normal file
@@ -0,0 +1,14 @@
|
||||
getJasmineRequireObj().toBeLessThan = function() {
|
||||
function toBeLessThan() {
|
||||
return {
|
||||
|
||||
compare: function(actual, expected) {
|
||||
return {
|
||||
pass: actual < expected
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return toBeLessThan;
|
||||
};
|
||||
Reference in New Issue
Block a user