Why do intercepts fail so often? #27043
Unanswered
stoplion
asked this question in
Component Testing
Replies: 1 comment
-
I should add I am aliasing the intercept and waiting for it to complete. In the waiting period, it fails very often. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've set up a intercepts to intercept API endpoints when testing. Those intercepts return a JSON fixture.
Problem is ½ the time the intercepts fail themselves. Why do intercepts fail?
Seems like the only job of an intercept is to listen to outbound requests that match a URL pattern and return a fixture. Why do they fail so frequently?
Beta Was this translation helpful? Give feedback.
All reactions