From 8cc21a8b5b1675545a517c616b2c63f87cac34b1 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 6 Mar 2018 05:01:16 +0000 Subject: [PATCH] chore: spelling: shortcut --- chai.js | 2 +- lib/chai/utils/inspect.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chai.js b/chai.js index a839593af..03f517457 100644 --- a/chai.js +++ b/chai.js @@ -8397,7 +8397,7 @@ function formatValue(ctx, value, recurseTimes) { var name, nameSuffix; - // Some type of object without properties can be shortcutted. + // Some type of object without properties can be shortcut. // In IE, errors have a single `stack` property, or if they are vanilla `Error`, // a `stack` plus `description` property; ignore those for consistency. if (keys.length === 0 || (isError(value) && ( diff --git a/lib/chai/utils/inspect.js b/lib/chai/utils/inspect.js index 205c52da0..b054aebae 100644 --- a/lib/chai/utils/inspect.js +++ b/lib/chai/utils/inspect.js @@ -105,7 +105,7 @@ function formatValue(ctx, value, recurseTimes) { var name, nameSuffix; - // Some type of object without properties can be shortcutted. + // Some type of object without properties can be shortcut. // In IE, errors have a single `stack` property, or if they are vanilla `Error`, // a `stack` plus `description` property; ignore those for consistency. if (keys.length === 0 || (isError(value) && (