diff --git a/chai.js b/chai.js index a839593..03f5174 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 205c52d..b054aeb 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) && (