From 24408a16edbf01801d0459b1eca4f91e72279d55 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Wed, 15 Dec 2021 20:34:00 -0800 Subject: [PATCH] Removed initialization of unused Promise config property --- src/core/Env.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/core/Env.js b/src/core/Env.js index 23ef6b9d..14610429 100644 --- a/src/core/Env.js +++ b/src/core/Env.js @@ -110,18 +110,6 @@ getJasmineRequireObj().Env = function(j$) { * @default false */ hideDisabled: false, - /** - * Set to provide a custom promise library that Jasmine will use if it needs - * to create a promise. If not set, it will default to whatever global Promise - * library is available (if any). - * @name Configuration#Promise - * @since 3.5.0 - * @type function - * @default undefined - * @deprecated In a future version, Jasmine will ignore the Promise config - * property and always create native promises instead. - */ - Promise: undefined, /** * Clean closures when a suite is done running (done by clearing the stored function reference). * This prevents memory leaks, but you won't be able to run jasmine multiple times.