Added a migration guide link to multiple done call deprecations
This commit is contained in:
@@ -519,7 +519,9 @@ describe('Env integration', function() {
|
||||
'A top-level beforeAll or afterAll function called its ' +
|
||||
"'done' callback more than once. This is a bug in the beforeAll " +
|
||||
'or afterAll function in question. This will be treated as an ' +
|
||||
'error in a future version.';
|
||||
'error in a future version. See' +
|
||||
'<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> ' +
|
||||
'for more information.';
|
||||
|
||||
spyOn(console, 'error');
|
||||
env.addReporter(reporter);
|
||||
@@ -555,7 +557,9 @@ describe('Env integration', function() {
|
||||
"An asynchronous function called its 'done' " +
|
||||
'callback more than once. This is a bug in the spec, beforeAll, ' +
|
||||
'beforeEach, afterAll, or afterEach function in question. This will ' +
|
||||
'be treated as an error in a future version.';
|
||||
'be treated as an error in a future version. See' +
|
||||
'<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> ' +
|
||||
'for more information.';
|
||||
|
||||
spyOn(console, 'error');
|
||||
env.addReporter(reporter);
|
||||
@@ -601,7 +605,9 @@ describe('Env integration', function() {
|
||||
"An asynchronous function called its 'done' " +
|
||||
'callback more than once. This is a bug in the spec, beforeAll, ' +
|
||||
'beforeEach, afterAll, or afterEach function in question. This will ' +
|
||||
'be treated as an error in a future version.\n' +
|
||||
'be treated as an error in a future version. See' +
|
||||
'<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> ' +
|
||||
'for more information.\n' +
|
||||
'(in spec: a suite a spec)';
|
||||
|
||||
spyOn(console, 'error');
|
||||
@@ -644,7 +650,9 @@ describe('Env integration', function() {
|
||||
var message =
|
||||
"An asynchronous reporter callback called its 'done' callback more " +
|
||||
'than once. This is a bug in the reporter callback in question. This ' +
|
||||
'will be treated as an error in a future version.\nNote: This message ' +
|
||||
'will be treated as an error in a future version. See' +
|
||||
'<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> ' +
|
||||
'for more information.\nNote: This message ' +
|
||||
'will be shown only once. Set the verboseDeprecations config property ' +
|
||||
'to true to see every occurrence.';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user