Why this happens
- The callback passed to `cy.origin()` was declared `async` or returned a Promise
How to fix it
- Make the callback a plain, synchronous function
- Pass data in through `cy.origin()`'s third `args` parameter instead of closing over outer-scope variables