Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
santoshdasa12345 committed Jan 16, 2025
1 parent a086d3a commit 1b15a10
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ describe('EYB lead details', () => {
expect(output).to.deep.equal([123, true, { key: 'value' }])
})

it('should transform a camelCase string to sentence case', () => {
expect(camelCaseToSentenceCase('find people_with specialist skills_in uk')).to.equal(
'Find people with specialist skills in UK'
)
})

it('should render all the fields of the details table', () => {
assertSummaryTable({
dataTest: 'eyb-lead-details-table',
Expand Down

0 comments on commit 1b15a10

Please sign in to comment.