Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaidong committed Nov 9, 2020
1 parent 5529926 commit a020270
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ dist
LICENSE
package.json
README.md

dist
3 changes: 1 addition & 2 deletions tests/specs/rate/rate.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,14 @@ test('Testing "rate" with custom range', (assert) => {
},
];

data.map((sample) => {
data.forEach((sample) => {
const {
input,
expect,
} = sample;
const actual = AverageRating.rate(input);
const params = input.join(', ');
assert.deepEqual(actual, expect, `.rate([${params}]) should be ${expect}`);
return actual;
});

assert.end();
Expand Down

0 comments on commit a020270

Please sign in to comment.