Closed sieem closed 1 month ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 0171d619ec151e48cd29d65779967bfcef78c617:
Sandbox | Source |
---|---|
react-testing-library-examples | Configuration |
@all-contributors please add @sieem for code :)
@MatanBobi
I've put up a pull request to add @sieem! :tada:
What:
We encountered some issues on our CI. We use Azure DevOps with this image:
using docker/cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
. This was the log produces when a test failed (for a different reason):Apparently process was defined, while process.env was not. I don't see the harm to do this extra check.
Why: To have proper error logging when a test fails.
How: I first used patch-package to patch this library on our codebase with the same change. This unblocked our ci and gave us proper logging of this failing test.
I ran the tests after my changes on this repo and no tests were failing.
Checklist: