average-rating
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"name": "average-rating", | ||
@@ -4,0 +4,0 @@ "description": "Calculate average score and rating based on Wilson Score Equation", |
@@ -28,3 +28,3 @@ /** | ||
let s = rating.join(', '); | ||
assert.deepEqual(actual, expect, `.average([${s}]) should be ${actual}`); | ||
assert.deepEqual(actual, expect, `.average([${s}]) should be ${expect}`); | ||
}); | ||
@@ -31,0 +31,0 @@ |
@@ -28,3 +28,3 @@ /** | ||
let s = rating.join(', '); | ||
assert.deepEqual(actual, expect, `.rage([${s}]) should be ${actual}`); | ||
assert.deepEqual(actual, expect, `.rage([${s}]) should be ${expect}`); | ||
}); | ||
@@ -31,0 +31,0 @@ |
@@ -92,3 +92,3 @@ /** | ||
let actual = Number(AverageRating.score(sample.p, sample.n)); | ||
assert.deepEqual(actual, expect, `.score(${sample.p}, ${sample.n}) should be ${actual}`); | ||
assert.deepEqual(actual, expect, `.score(${sample.p}, ${sample.n}) should be ${expect}`); | ||
}); | ||
@@ -95,0 +95,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package