verify-it 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verify-it",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Randomised test property/data generation for NodeJS",
5
5
  "keywords": [
6
6
  "testing",
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "main": "index.js",
16
16
  "scripts": {
17
- "test": "JUNIT_REPORT_PATH=test/test-reports/report.xml nyc --all --include=index.js --include=src/*.js --include=src/*/**.js --reporter=html --reporter=text mocha --reporter mocha-jenkins-reporter test/*.js test/**/*.js",
17
+ "test": "JUNIT_REPORT_PATH=test/test-reports/report.xml nyc --all --include=index.js --include=src/*.js --include=src/*/**.js --reporter=html --reporter=text mocha test/*.js test/**/*.js",
18
18
  "posttest": "standard",
19
19
  "check-dependencies": "scripts/spdx-non-copyleft.js"
20
20
  },
@@ -35,16 +35,14 @@
35
35
  "random-js": "^2.1.0"
36
36
  },
37
37
  "devDependencies": {
38
- "chai": "^4.2.0",
39
- "chai-as-promised": "^7.1.1",
40
- "istanbul": "^0.4.5",
38
+ "chai": "^4.5.0",
39
+ "chai-as-promised": "^7.1.2",
41
40
  "license-checker": "^25.0.1",
42
- "mocha": "^6.1.4",
43
- "mocha-jenkins-reporter": "^0.4.1",
44
- "nyc": "^14.1.1",
45
- "testdouble": "^3.11.0",
46
- "spdx-copyleft": "^0.1.1",
47
- "standard": "^12.0.1"
41
+ "mocha": "^11.0.1",
42
+ "nyc": "^17.1.0",
43
+ "spdx-copyleft": "^1.0.0",
44
+ "standard": "^17.1.2",
45
+ "testdouble": "^3.20.2"
48
46
  },
49
47
  "standard": {
50
48
  "globals": [
@@ -6,7 +6,7 @@ const SelectionGenerators = function (random) {
6
6
  throw new Error('The options to be picked from must be provided')
7
7
  } else if (!Array.isArray(values)) {
8
8
  throw new Error('The options to be picked from must be an array')
9
- } else if (values.length <= 1) {
9
+ } else if (values.length < 1) {
10
10
  throw new Error('The options array must have at least one entry')
11
11
  }
12
12