Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nikiwycherley committed Nov 28, 2023
1 parent b4e131e commit f1a60d1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/getMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,11 @@ lab.experiment('getMessage', () => {
await Code.expect(getMessage(event)).to.reject()
})
lab.test('Invalid id format test', async () => {
// Set the id to a value that is not a hexadecimal string
event.pathParameters.id = 'invalid_id_format'

// Expect the getMessage function to reject due to validation failure
await Code.expect(getMessage(event)).to.reject()
})
lab.test('Valid id format test', async () => {
// Set the id set to a hexadecimal string
event.pathParameters.id = 'a1b2c3'
const result = await getMessage(event)
const body = result.body
Expand Down

0 comments on commit f1a60d1

Please sign in to comment.