PromiseTestType The easy way to test the Promise type in JavaScript: const promiseTest = Promise.resolve(objectPromise)