-
Couldn't load subscription status.
- Fork 468
Closed
Description
@testing-library/domversion: v10.3.0- Testing Framework and version: Angular Testing Library v17.0.0
- DOM Environment: Karma (Chrome)
Relevant code or config:
getByRole('link', { name: "missing query" });What you did:
I wrote a spec which throws an error by getByXXX and ran on a browser.
What happened:
Since #1321, DTL cannot report an assertion error with DOM element due to illegal access to process.
Until v10.2.0, typeof process !== "undefined" has been prevented this situation.
Reproduction:
Problem description:
Suggested solution:
- Add
typeofguard before accessingprocess.
Metadata
Metadata
Assignees
Labels
No labels