Working with Multiple Values in a Promise Chain using Stateful Context
In one of our project’s test code, we have to create many objects asynchronously and use them later in our tests. Our codebase is promise-based, so we have to chain these promises in a way that makes it…