Recommended patterns for testing components that rely on remote functions? #592
Unanswered
brendan-morin
asked this question in
Q&A
Replies: 2 comments 1 reply
|
Linking relevant issue here: sveltejs/kit#14796 |
0 replies
|
Oh! Sorry didn't see this! I use a helper file approach see here: https://github.com/spences10/scottspence.com/blob/096bc4d8791b156817956760fc3218a28c0a90da/src/lib/analytics/live-analytics.helpers.ts |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is the only option e2e tests, or are there other patterns that we could use? E2e tests do work great but they're a bit slow and they seem better for testing specific usage of a component rather than general component functionality, meaning they're not super well suited for e.g. TDD.
All reactions