{"ScriptPreparationCode":"function createWaitPromise( milliseconds ) {\r\n return new Promise( ( resolve, reject ) =\u003E {\r\n setTimeout( resolve, milliseconds );\r\n });\r\n}","TestCases":[{"Name":"1 second","Code":"if ( globalThis.SecondsPromise1 \u0026\u0026 globalThis.SecondsPromise10 \u0026\u0026 globalThis.SecondsPromise60 )\r\n\tglobalThis.SecondsPromise1 = globalThis.SecondsPromise10 = globalThis.SecondsPromise60 = null;\r\n\r\nif ( !globalThis.SecondsPromise1 )\r\n globalThis.SecondsPromise1 = createWaitPromise( 1000 * 1 );\r\n\r\n/* Just busy waiting. */","IsDeferred":false},{"Name":"10 seconds","Code":"if ( !globalThis.SecondsPromise10 )\r\n globalThis.SecondsPromise10 = createWaitPromise( 1000 * 10 );\r\n\r\n/* Just busy waiting. */","IsDeferred":false},{"Name":"60 seconds","Code":"if ( !globalThis.SecondsPromise60 )\r\n globalThis.SecondsPromise60 = createWaitPromise( 1000 * 60 );\r\n\r\n/* Just busy waiting. */","IsDeferred":false}]}