mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-13 00:12:51 +08:00
fixed some spellings
This commit is contained in:
@ -6,7 +6,7 @@ describe('Testing the maxWord function', () => {
|
||||
})
|
||||
it('get the max word', () => {
|
||||
const string = 'ba ba ba ba banana'
|
||||
const mostOccuringWord = maxWord(string)
|
||||
expect(mostOccuringWord).toBe('ba')
|
||||
const mostOccurringWord = maxWord(string)
|
||||
expect(mostOccurringWord).toBe('ba')
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user