Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronPlave committed Dec 20, 2024
1 parent 8168ba3 commit 8a98f13
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/utilities/generic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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([]);
});
});
});

0 comments on commit 8a98f13

Please sign in to comment.