Skip to content

Writing Testing Library tests that use certain Skeleton components #2891

Answered by endigo9740
is-sematell asked this question in Q&A
Discussion options

You must be logged in to vote

So, how should Skeleton be set up for Testing Library?

Skeleton has no special requirements that would require you to use any configuration beyond what Test Library itself requires. If you follow my recommendation above, typically you're just testing components, which is what Vitest with Testing Library is all about.

So, how should Skeleton be set up for Testing Library?

I'll emphasize again, I can help push you in the right direction (as far as recommendations), but it's outside the scope of our support to teach you how to use Testing Library. I strongly recommend you read through their documentation, look at guides, and understand the plethora of options they provide.

https://testin…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
11 replies
@is-sematell
Comment options

@is-sematell
Comment options

@is-sematell
Comment options

@endigo9740
Comment options

Answer selected by is-sematell
@mcous
Comment options

@endigo9740
Comment options

@mcous
Comment options

@endigo9740
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants