8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43063dc commit ca3bf55Copy full SHA for ca3bf55
js/server/tests/shell-foxx.js
@@ -964,7 +964,8 @@ function DocumentationAndConstraintsSpec () {
964
paramName = 'flurb',
965
description = stub(),
966
requestBody = 'banana',
967
- schema = joi.array().items({x: joi.number().integer().required()});
+ schema = joi.array().items({x: joi.number().integer().required()}),
968
+ called = false;
969
970
allow(req)
971
.toReceive("body")
@@ -980,6 +981,7 @@ function DocumentationAndConstraintsSpec () {
980
981
var callback = transformRoute(routes[0].action);
982
callback(req, res);
983
984
+ assertFalse(called);
985
assertEqual(res.responseCode, 400);
986
},
987
0 commit comments