fixed some spellings

This commit is contained in:
Keshav Bohra
2021-10-05 12:49:23 +05:30
parent 199d2637cc
commit 1589263947
41 changed files with 80 additions and 80 deletions

View File

@ -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')
})
})