merge: reduce upper & lower & add export default (#960)

This commit is contained in:
Fahim Faisaal
2022-03-28 15:29:21 +06:00
committed by GitHub
parent 3b9af469f6
commit 27ae62e5c9
4 changed files with 9 additions and 17 deletions

View File

@ -1,4 +1,4 @@
import { lower } from '../Lower'
import lower from '../Lower'
describe('Testing the Lower function', () => {
it('Test 1: Check by invalid type', () => {

View File

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