mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 01:18:23 +08:00
10 lines
261 B
JavaScript
10 lines
261 B
JavaScript
import upper from '../Upper'
|
|
|
|
describe('Testing the Upper function', () => {
|
|
it('return uppercase strings', () => {
|
|
expect(upper('hello')).toBe('HELLO')
|
|
expect(upper('WORLD')).toBe('WORLD')
|
|
expect(upper('hello_WORLD')).toBe('HELLO_WORLD')
|
|
})
|
|
})
|