mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 17:50:39 +08:00
merge: reduce upper & lower & add export default (#960)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { lower } from '../Lower'
|
||||
import lower from '../Lower'
|
||||
|
||||
describe('Testing the Lower function', () => {
|
||||
it('Test 1: Check by invalid type', () => {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { upper } from '../Upper'
|
||||
import upper from '../Upper'
|
||||
|
||||
describe('Upper', () => {
|
||||
describe('Testing the Upper function', () => {
|
||||
it('return uppercase strings', () => {
|
||||
expect(upper('hello')).toBe('HELLO')
|
||||
expect(upper('WORLD')).toBe('WORLD')
|
||||
|
Reference in New Issue
Block a user