From 2d8d9c444610fbf076201109daaa9635a902a915 Mon Sep 17 00:00:00 2001 From: Ash Date: Thu, 30 Nov 2023 12:50:11 +0000 Subject: [PATCH] test processMessageEventSchema validation --- test/schemas.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/schemas.js b/test/schemas.js index d4dadb2..c2148c0 100644 --- a/test/schemas.js +++ b/test/schemas.js @@ -18,5 +18,6 @@ lab.experiment('schemas', () => { lab.test('processMessageEventSchema', () => { Code.expect(Joi.isSchema(processMessageEventSchema)).to.equal(true) + Code.expect(processMessageEventSchema.validate({ bodyXml: '' })).to.equal({ value: { bodyXml: '' } }) }) })