From 29dfb22fb702ce025bc02b17cf8befa12373cd57 Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Sun, 15 Mar 2020 12:18:47 -0400 Subject: [PATCH] add response validation test --- test/response.validation.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/response.validation.spec.ts b/test/response.validation.spec.ts index bc0bb05e..4e83b2e2 100644 --- a/test/response.validation.spec.ts +++ b/test/response.validation.spec.ts @@ -86,6 +86,7 @@ describe(packageJson.name, () => { .that.equals(500); })); + // TODO add test for allOf - when allOf is used an array value passes when object is expected it('should fail if response is array when expecting object', async () => request(app) .get(`${app.basePath}/object`)