diff --git a/test/validator/isBankCard.test.js b/test/validator/isBankCard.test.js index cb1b931e..4e9f39a6 100644 --- a/test/validator/isBankCard.test.js +++ b/test/validator/isBankCard.test.js @@ -5,7 +5,7 @@ import { import isBankCard from '../../src/isBankCard' describe('isBankCard', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isBankCard(true)).to.be.equal(false); expect(isBankCard(123)).to.be.equal(false); }); diff --git a/test/validator/isBusinessLicense.test.js b/test/validator/isBusinessLicense.test.js index 529e4344..a67a8cca 100644 --- a/test/validator/isBusinessLicense.test.js +++ b/test/validator/isBusinessLicense.test.js @@ -5,7 +5,7 @@ import { import isBusinessLicense from '../../src/isBusinessLicense' describe('isBusinessLicense', () => { - it('错误示例', () => { + it('非字符串', () => { expect(isBusinessLicense(true)).to.be.equal(false); expect(isBusinessLicense(123)).to.be.equal(false); }); diff --git a/test/validator/isChinese.test.js b/test/validator/isChinese.test.js index 6146b0ab..c0dad424 100644 --- a/test/validator/isChinese.test.js +++ b/test/validator/isChinese.test.js @@ -5,7 +5,7 @@ import { import isChinese from '../../src/isChinese' describe('isChinese', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isChinese(true)).to.be.equal(false); expect(isChinese(123)).to.be.equal(false); }); diff --git a/test/validator/isEmail.test.js b/test/validator/isEmail.test.js index e975f10d..b4364616 100644 --- a/test/validator/isEmail.test.js +++ b/test/validator/isEmail.test.js @@ -6,7 +6,7 @@ import isEmail from '../../src/isEmail' describe('isEmail', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isEmail(true)).to.be.equal(false); expect(isEmail(123)).to.be.equal(false); }); diff --git a/test/validator/isIPv4.test.js b/test/validator/isIPv4.test.js index a9b9be2d..a886f071 100644 --- a/test/validator/isIPv4.test.js +++ b/test/validator/isIPv4.test.js @@ -5,7 +5,7 @@ import { import isIPv4 from '../../src/isIPv4' describe('isIPv4', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isIPv4(true)).to.be.equal(false); expect(isIPv4(123)).to.be.equal(false); }); diff --git a/test/validator/isIPv6.test.js b/test/validator/isIPv6.test.js index fd13794b..6be7099f 100644 --- a/test/validator/isIPv6.test.js +++ b/test/validator/isIPv6.test.js @@ -5,7 +5,7 @@ import { import isIPv6 from '../../src/isIPv6' describe('isIPv6', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isIPv6(true)).to.be.equal(false); expect(isIPv6(123)).to.be.equal(false); }); diff --git a/test/validator/isIdCard.test.js b/test/validator/isIdCard.test.js index 2e1fe263..b940c212 100644 --- a/test/validator/isIdCard.test.js +++ b/test/validator/isIdCard.test.js @@ -6,7 +6,7 @@ import isIdCard from '../../src/isIdCard' describe('isIdCard', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isIdCard(true)).to.be.equal(false); expect(isIdCard(123)).to.be.equal(false); }); diff --git a/test/validator/isMobile.test.js b/test/validator/isMobile.test.js index 1b20c633..9e4e6c92 100644 --- a/test/validator/isMobile.test.js +++ b/test/validator/isMobile.test.js @@ -6,7 +6,7 @@ import isMobile from '../../src/isMobile' describe('isMobile', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isMobile(true)).to.be.equal(false); expect(isMobile(123)).to.be.equal(false); }); diff --git a/test/validator/isPassport.test.js b/test/validator/isPassport.test.js index 0340bb4e..bc01896e 100644 --- a/test/validator/isPassport.test.js +++ b/test/validator/isPassport.test.js @@ -5,7 +5,7 @@ import { import isPassport from '../../src/isPassport' describe('isPassport', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isPassport(true)).to.be.equal(false); expect(isPassport(123)).to.be.equal(false); }); diff --git a/test/validator/isPassword.test.js b/test/validator/isPassword.test.js index f9971773..0fa03161 100644 --- a/test/validator/isPassword.test.js +++ b/test/validator/isPassword.test.js @@ -5,36 +5,36 @@ import { import isPassword from '../../src/isPassword' describe('isPassword', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isPassword(true)).to.be.equal(false); expect(isPassword(123)).to.be.equal(false); }); it('1级强度 "1234787" => true', () => { - expect(isPassword('1234787', {level: 1})).to.be.equal(true); + expect(isPassword('1234787', { level: 1 })).to.be.equal(true); }); it('1级强度 "a1234787" => true', () => { - expect(isPassword('a1234787', {level: 1})).to.be.equal(true); + expect(isPassword('a1234787', { level: 1 })).to.be.equal(true); }); it('1级强度 "ab1234787" => true', () => { - expect(isPassword('ab1234787', {level: 1})).to.be.equal(true); + expect(isPassword('ab1234787', { level: 1 })).to.be.equal(true); }); it('1级强度 "1a234787" => true', () => { - expect(isPassword('1a234787', {level: 1})).to.be.equal(true); + expect(isPassword('1a234787', { level: 1 })).to.be.equal(true); }); it('1级强度 "a1_234787" => true', () => { - expect(isPassword('a1_234787', {level: 1})).to.be.equal(true); + expect(isPassword('a1_234787', { level: 1 })).to.be.equal(true); }); it('1级强度 "abc" => true', () => { - expect(isPassword('abc', {level: 1})).to.be.equal(true); + expect(isPassword('abc', { level: 1 })).to.be.equal(true); }); it('1级强度 "*_ )" => false', () => { - expect(isPassword('*_ )', {level: 1})).to.be.equal(false); + expect(isPassword('*_ )', { level: 1 })).to.be.equal(false); }); it('1级强度 "!@#$%^&*()-=_+[]\|{},./?<>~`" => true', () => { - expect(isPassword('!@#$%^&*()-=_+[]\|{},./?<>~`', {level: 1})).to.be.equal(true); + expect(isPassword('!@#$%^&*()-=_+[]\|{},./?<>~`', { level: 1 })).to.be.equal(true); }); it('2级强度 "!@#$%^&*()-=_+[]\|{},./?<>~`" => false', () => { - expect(isPassword('!@#$%^&*()-=_+[]\|{},./?<>~`', {level: 2})).to.be.equal(false); + expect(isPassword('!@#$%^&*()-=_+[]\|{},./?<>~`', { level: 2 })).to.be.equal(false); }); it('2级强度 "a12345678" => true', () => { diff --git a/test/validator/isPostcode.test.js b/test/validator/isPostcode.test.js index 0128d966..e0ec47ec 100644 --- a/test/validator/isPostcode.test.js +++ b/test/validator/isPostcode.test.js @@ -6,7 +6,7 @@ import isPostcode from '../../src/isPostcode' describe('isPostcode', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isPostcode(true)).to.be.equal(false); expect(isPostcode(123)).to.be.equal(false); }); diff --git a/test/validator/isQQ.test.js b/test/validator/isQQ.test.js index 76094b98..be4b9858 100644 --- a/test/validator/isQQ.test.js +++ b/test/validator/isQQ.test.js @@ -5,7 +5,7 @@ import { import isQQ from '../../src/isQQ' describe('isQQ', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isQQ(true)).to.be.equal(false); expect(isQQ(123)).to.be.equal(false); }); diff --git a/test/validator/isSocialCreditCode.test.js b/test/validator/isSocialCreditCode.test.js index 8d0f976d..3e0686d5 100644 --- a/test/validator/isSocialCreditCode.test.js +++ b/test/validator/isSocialCreditCode.test.js @@ -5,7 +5,7 @@ import { import isSocialCreditCode from '../../src/isSocialCreditCode' describe('isSocialCreditCode', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isSocialCreditCode(true)).to.be.equal(false); expect(isSocialCreditCode(123)).to.be.equal(false); }); diff --git a/test/validator/isTelephone.test.js b/test/validator/isTelephone.test.js index e4308cf2..eeac256a 100644 --- a/test/validator/isTelephone.test.js +++ b/test/validator/isTelephone.test.js @@ -6,7 +6,7 @@ import isTelephone from '../../src/isTelephone' describe('isTelephone', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isTelephone(true)).to.be.equal(false); expect(isTelephone(123)).to.be.equal(false); }); diff --git a/test/validator/isUrl.test.js b/test/validator/isUrl.test.js index 1b256813..ce2d93ca 100644 --- a/test/validator/isUrl.test.js +++ b/test/validator/isUrl.test.js @@ -5,7 +5,7 @@ import { import isUrl from '../../src/isUrl' describe('isUrl', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isUrl([])).to.be.equal(false); expect(isUrl({})).to.be.equal(false); expect(isUrl(false)).to.be.equal(false); diff --git a/test/validator/isVehicle.test.js b/test/validator/isVehicle.test.js index 8adfc952..224fcbd0 100644 --- a/test/validator/isVehicle.test.js +++ b/test/validator/isVehicle.test.js @@ -6,7 +6,7 @@ import isVehicle from '../../src/isVehicle' describe('isVehicle', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isVehicle(true)).to.be.equal(false); expect(isVehicle(123)).to.be.equal(false); }); diff --git a/test/validator/isWX.test.js b/test/validator/isWX.test.js index 673c75e8..43d41ebf 100644 --- a/test/validator/isWX.test.js +++ b/test/validator/isWX.test.js @@ -5,7 +5,7 @@ import { import isWX from '../../src/isWX' describe('isWX', () => { - it('非字符串 => false', () => { + it('非字符串', () => { expect(isWX(true)).to.be.equal(false); expect(isWX(123)).to.be.equal(false); });