diff --git a/src/utilities/generic.test.ts b/src/utilities/generic.test.ts index ab02b67e4c..a64c8bcfbf 100644 --- a/src/utilities/generic.test.ts +++ b/src/utilities/generic.test.ts @@ -193,7 +193,11 @@ describe('Generic utility function tests', () => { }); describe('lowercase', () => { - expect(lowercase([]).to.deep.eq([])); - expect(lowercase('ABC').to.eq('abc')); + test('Should lowercase a string', () => { + expect(lowercase('ABC')).to.eq('abc'); + }); + test('Should skip lowercasing if a string not provided', () => { + expect(lowercase([])).to.deep.eq([]); + }); }); });