Fixed typos in comments.

This commit is contained in:
Felix Rilling
2019-03-10 11:04:33 +01:00
parent 239a615770
commit dde93ade18
4 changed files with 5 additions and 5 deletions

View File

@@ -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) {

View File

@@ -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.

View File

@@ -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

View File

@@ -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
*/