Removed initialization of unused Promise config property

This commit is contained in:
Steve Gravrock
2021-12-15 20:34:00 -08:00
parent ca90c76d12
commit 24408a16ed

View File

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