Added a migration guide link to multiple done call deprecations

This commit is contained in:
Steve Gravrock
2021-12-14 08:16:06 -08:00
parent f3b26a0688
commit 57c294b307
7 changed files with 47 additions and 15 deletions

View File

@@ -236,7 +236,9 @@ describe('Suite', 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.',
{ ignoreRunnable: true }
);
});
@@ -258,7 +260,9 @@ describe('Suite', 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' +
'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 suite: the parent suite the suite)',
{ ignoreRunnable: true }
);