I am creating tests for the current REST API that I am working on. Some tests require that I invoke the REST API with other calls than the main request to set up the data that the main request will use for the test.
I created a package that turns the pm.sendRequest
function into an async function that returns a Promise.
I was planning to use this in a package that is specific for this current API, while still having it available for other APIs that I might build in the future.
That led to requiring a package from a second package, which, after some more research, seems that it is not possible currently.