Skip to content

Commit

Permalink
test processMessageEventSchema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash committed Nov 30, 2023
1 parent 9139195 commit 2d8d9c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/schemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ lab.experiment('schemas', () => {

lab.test('processMessageEventSchema', () => {
Code.expect(Joi.isSchema(processMessageEventSchema)).to.equal(true)
Code.expect(processMessageEventSchema.validate({ bodyXml: '<xml />' })).to.equal({ value: { bodyXml: '<xml />' } })
})
})

0 comments on commit 2d8d9c4

Please sign in to comment.