From 84d821fa409ef95f507f6bd7126f5e92b7673eee Mon Sep 17 00:00:00 2001 From: Morton Fox Date: Sat, 8 Apr 2017 00:35:41 -0400 Subject: [PATCH] Update Mocha link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4616be0..0204cde 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Use Spumko's [Joi](https://github.com/spumko/joi) in assertion statements that validate and sanitize values. -Assertions throw an [AssertionError](https://github.com/chaijs/assertion-error) with a compact, readable message if validation fails. This makes Joi schemas usable in assertions for use with frameworks like [mocha](https://visionmedia.github.io/mocha/). +Assertions throw an [AssertionError](https://github.com/chaijs/assertion-error) with a compact, readable message if validation fails. This makes Joi schemas usable in assertions for use with frameworks like [mocha](http://mochajs.org/). If validation succeeds the sanitized value returned, via Joi's support for default values and unknown property stripping etc. This makes Joi schemas usable as input-assertions in the methods of user facing methods of your modules and APIs.