Updated Promise.resolve to resolve with original Promise