From 2c2bc0dbd2e4ed6666bdfd75fc6fc9a0fd30ab44 Mon Sep 17 00:00:00 2001 From: Mark Stickley Date: Fri, 16 Feb 2018 11:14:59 +0000 Subject: [PATCH] Added comma, for clarity Wouldn't want anyone thinking sinon will in any way "fail to ensure you are creating less error prone tests" :) --- docs/guides/migrating-to-4.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/migrating-to-4.0.md b/docs/guides/migrating-to-4.0.md index af99acf84..58333e278 100644 --- a/docs/guides/migrating-to-4.0.md +++ b/docs/guides/migrating-to-4.0.md @@ -9,6 +9,6 @@ This guide will walk you through those changes. ## `sinon.stub(obj, 'nonExistingProperty')` - Throws -Trying to stub a non-existing property will now fail to ensure you are creating +Trying to stub a non-existing property will now fail, to ensure you are creating [less error-prone tests](https://github.com/sinonjs/sinon/pull/1557).