easily-expect
Advanced tools
Comparing version
@@ -9,3 +9,3 @@ 'use strict' | ||
*/ | ||
module.exports = function checkWithin (number, ...objects) { | ||
module.exports = function checkLeast (number, ...objects) { | ||
for (let i = 0; i < objects.length; i++) { | ||
@@ -12,0 +12,0 @@ expect(objects[i]).to.be.at.least(number) |
@@ -86,4 +86,5 @@ 'use strict' | ||
exports.checkLeast = require('./checkLeast') | ||
exports.checkWithin = require('./checkWithin') | ||
exports.init = data => { | ||
cacheData = data | ||
} |
{ | ||
"name": "easily-expect", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "You can easily use expect", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,1 +22,2 @@ [](https://travis-ci.org/KSH-code/easily-expect) | ||
* [checkLeast](https://github.com/KSH-code/easily-expect/blob/master/test/checkLeast.test.js) | ||
* [checkWithin](https://github.com/KSH-code/easily-expect/blob/master/test/checkWithin.test.js) |
14313
4.93%26
8.33%346
6.79%23
4.55%