Fixed typos in comments.
This commit is contained in:
@@ -2314,7 +2314,7 @@ describe("Env integration", function() {
|
|||||||
var env = new jasmineUnderTest.Env(),
|
var env = new jasmineUnderTest.Env(),
|
||||||
reporter = jasmine.createSpyObj('reporter', ['jasmineDone', 'suiteDone', 'specDone']);
|
reporter = jasmine.createSpyObj('reporter', ['jasmineDone', 'suiteDone', 'specDone']);
|
||||||
|
|
||||||
// prevent deprecation from being desplayed
|
// prevent deprecation from being displayed
|
||||||
spyOn(console, "error");
|
spyOn(console, "error");
|
||||||
|
|
||||||
reporter.jasmineDone.and.callFake(function(result) {
|
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('suite level deprecation') } catch (err) { suiteLevelError = err; }
|
||||||
try { throw new Error('spec level deprecation') } catch (err) { specLevelError = 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");
|
spyOn(console, "error");
|
||||||
|
|
||||||
reporter.jasmineDone.and.callFake(function(result) {
|
reporter.jasmineDone.and.callFake(function(result) {
|
||||||
|
|||||||
@@ -571,7 +571,7 @@ getJasmineRequireObj().Env = function(j$) {
|
|||||||
/**
|
/**
|
||||||
* Information passed to the {@link Reporter#jasmineDone} event.
|
* Information passed to the {@link Reporter#jasmineDone} event.
|
||||||
* @typedef JasmineDoneInfo
|
* @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 {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 {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.
|
* @property {Expectation[]} failedExpectations - List of expectations that failed in an {@link afterAll} at the global level.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ getJasmineRequireObj().Order = function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Bob Jenkins One-at-a-Time Hash algorithm is a non-cryptographic hash 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
|
// We use your return to sort the children randomly in a consistent way when
|
||||||
// used in conjunction with a seed
|
// used in conjunction with a seed
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ getJasmineRequireObj().base = function(j$, jasmineGlobal) {
|
|||||||
*/
|
*/
|
||||||
j$.MAX_PRETTY_PRINT_ARRAY_LENGTH = 50;
|
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.
|
* Characters past this number will be ellipised.
|
||||||
* @name jasmine.MAX_PRETTY_PRINT_CHARS
|
* @name jasmine.MAX_PRETTY_PRINT_CHARS
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user