You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP →

easily-expect

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easily-expect - npm Package Compare versions

Comparing version

to
0.1.7

@@ -62,3 +62,3 @@ 'use strict'

exports.checkValue = (...objects) => {
for (let k = objects.length; --k >= 0;) {
for (let k = 0; k < objects.length; k++) {
const object = objects[k]

@@ -65,0 +65,0 @@ expect(Boolean(object)).to.equal(true)

{
"name": "easily-expect",
"version": "0.1.6",
"version": "0.1.7",
"description": "You can easily use expect",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -32,5 +32,5 @@ [![Build Status](https://travis-ci.org/KSH-code/easily-expect.svg?branch=master)](https://travis-ci.org/KSH-code/easily-expect)

checkArray([/^\d*$/, /[a-z]{1,10}/, { test1: /^\d*$/ }], ['123', 'a', { test1: '123' }, '123','a', { test1: '123' }], ['123', 'a', { test1: '123' }])
it('Test Object type', () => {
checkValue({ a: 1 }, { b: true }, {})
})
it('Test Object type', () => {
checkValue({ a: 1 }, { b: true }, {})
})

@@ -37,0 +37,0 @@ ```