Skip to content

Commit

Permalink
Merge pull request #15 from ndaidong/v1.2.1
Browse files Browse the repository at this point in the history
v1.2.1
  • Loading branch information
ndaidong committed Nov 9, 2020
2 parents 5529926 + a020270 commit c01eac9
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 c01eac9

Please sign in to comment.