Implement better technique to detect signal within @cypress/angular-signals test harness #29731
Labels
CT
Issue related to component testing
npm: @cypress/angular
@cypress/angular package issues
stale
no activity on this issue for a long period
What would you like?
I would like to have a better way to detect Angular signals within the
@cypress/angular-signals
test harness.Why is this needed?
Currently, within the
@cypress/angular-signals
test harness, we determine what type ofsignal()
an angular signal is based on theSymbol(SIGNAL)
property and some other expected keys on the object. This isn't instance based or constructor based, since we can't determine the instanceof of a function. However, avoiding to check for arbitrary keys and values and deterministically figuring out whatsignal()
is passed in without interference would be ideal.Other
No response
The text was updated successfully, but these errors were encountered: