fix test lint

This commit is contained in:
Matteo Pagliazzi
2019-10-08 20:45:38 +02:00
parent e37f4467f8
commit 85fb5f33aa
367 changed files with 6635 additions and 6080 deletions
+3 -2
View File
@@ -42,7 +42,7 @@ describe('helper functions used in stat calculations', () => {
describe('toNextLevel', () => {
it('increases Experience target from one level to the next', () => {
_.times(110, (level) => {
_.times(110, level => {
expect(tnl(level + 1)).to.be.greaterThan(tnl(level));
});
});
@@ -62,7 +62,8 @@ describe('helper functions used in stat calculations', () => {
});
it('provides a different curve if a halfway point is defined', () => {
expect(diminishingReturns(BONUS, MAXIMUM, HALFWAY)).to.not.eql(diminishingReturns(BONUS, MAXIMUM));
expect(diminishingReturns(BONUS, MAXIMUM, HALFWAY))
.to.not.eql(diminishingReturns(BONUS, MAXIMUM));
});
});
});