diff --git a/spec/core/integration/EnvSpec.js b/spec/core/integration/EnvSpec.js index c63d50b1..6314123d 100644 --- a/spec/core/integration/EnvSpec.js +++ b/spec/core/integration/EnvSpec.js @@ -2314,7 +2314,7 @@ describe("Env integration", function() { var env = new jasmineUnderTest.Env(), reporter = jasmine.createSpyObj('reporter', ['jasmineDone', 'suiteDone', 'specDone']); - // prevent deprecation from being desplayed + // prevent deprecation from being displayed spyOn(console, "error"); reporter.jasmineDone.and.callFake(function(result) { @@ -2366,7 +2366,7 @@ describe("Env integration", function() { try { throw new Error('suite level deprecation') } catch (err) { suiteLevelError = err; } try { throw new Error('spec level deprecation') } catch (err) { specLevelError = err; } - // prevent deprecation from being desplayed + // prevent deprecation from being displayed spyOn(console, "error"); reporter.jasmineDone.and.callFake(function(result) { diff --git a/src/core/Env.js b/src/core/Env.js index 02476268..f407745d 100644 --- a/src/core/Env.js +++ b/src/core/Env.js @@ -571,7 +571,7 @@ getJasmineRequireObj().Env = function(j$) { /** * Information passed to the {@link Reporter#jasmineDone} event. * @typedef JasmineDoneInfo - * @property {OverallStatus} overallStatus - The overall result of the sute: 'passed', 'failed', or 'incomplete'. + * @property {OverallStatus} overallStatus - The overall result of the suite: 'passed', 'failed', or 'incomplete'. * @property {IncompleteReason} incompleteReason - Explanation of why the suite was incomplete. * @property {Order} order - Information about the ordering (random or not) of this execution of the suite. * @property {Expectation[]} failedExpectations - List of expectations that failed in an {@link afterAll} at the global level. diff --git a/src/core/Order.js b/src/core/Order.js index ccebd5e3..de35ca8e 100644 --- a/src/core/Order.js +++ b/src/core/Order.js @@ -23,7 +23,7 @@ getJasmineRequireObj().Order = function() { } // Bob Jenkins One-at-a-Time Hash algorithm is a non-cryptographic hash function - // used to get a different output when the key changes slighly. + // used to get a different output when the key changes slightly. // We use your return to sort the children randomly in a consistent way when // used in conjunction with a seed diff --git a/src/core/base.js b/src/core/base.js index c843eeaf..57d4cea7 100644 --- a/src/core/base.js +++ b/src/core/base.js @@ -17,7 +17,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) { */ j$.MAX_PRETTY_PRINT_ARRAY_LENGTH = 50; /** - * Maximum number of charasters to display when pretty printing objects. + * Maximum number of characters to display when pretty printing objects. * Characters past this number will be ellipised. * @name jasmine.MAX_PRETTY_PRINT_CHARS */