No, don't do it that way. Do `var wasSettled = false; foreverPendingPromise.then(function () { wasSettled = true; }, function () { wasSettled = true; })` and `assert(!wasSettled)`.