Skip to content

Commit

Permalink
Correct missed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clexmond committed Jun 21, 2024
1 parent 94d5e61 commit 238f17a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/crew.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Crew library', function () {
const details = Crew.getAbilityBonus(
1, [{ classId: 3, titleId: 65 }, { collectionId: 4, classId: 3, traitIds: [ 31 ]}]
);
expect(details.totalBonus.toFixed(4)).to.equal('1.4063');
expect(details.totalBonus.toFixed(4)).to.equal('1.4375');
});

it('should get bonus based on ability with no class affinity', function () {
Expand All @@ -33,7 +33,7 @@ describe('Crew library', function () {
{ Crewmate: { coll: 2, class: 3, title: 13, impactful: [ 31 ] } }
]);

expect(details.totalBonus.toFixed(4)).to.equal('1.5156');
expect(details.totalBonus.toFixed(4)).to.equal('1.5313');
});

it('should get bonus based on ability with class penalty', function () {
Expand Down

0 comments on commit 238f17a

Please sign in to comment.