Skip to content

Commit

Permalink
updated player test with new font size thresholds for scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Jun 11, 2024
1 parent 8bd15dc commit e6e5779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/player.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ describe('Player Controller', function() {
const shortTextString = "I am a string below 140 characters"
const longTextString = "I am a string that's quite a bit longer; in fact one might say I'm a really long text string. Some say there may be longer text strings out there, but I'm not sure about that. Have you ever seen one?"

expect($scope.getAdjustedTextSize(shortTextString)).toEqual(28)
expect($scope.getAdjustedTextSize(longTextString)).toEqual(23)
expect($scope.getAdjustedTextSize(shortTextString)).toEqual(26)
expect($scope.getAdjustedTextSize(longTextString)).toEqual(15)
})

test('should check a "correct" answer choice', () => {
Expand Down

0 comments on commit e6e5779

Please sign in to comment.