Function resetAppForTesting

  • Reset the cached Express app instance so integration tests can bootstrap a fresh copy without relying on module cache hacks.

    Returns Promise<void>