testing-library-docs icon indicating copy to clipboard operation
testing-library-docs copied to clipboard

docs(svelte-testing-library): simplify examples with link to STL repository

Open mcous opened this issue 6 months ago • 1 comments

I just got through porting the Svelte examples to v5, and I went ahead and did it in the STL repository itself so I could ensure that examples would be automatically tested (which caught a bug, which was cool).

In order to minimize the maintenance burden of the Svelte docs, this PR removes most examples from the testing-library.com docs in favor of linking to the STL repository for more complex examples.

I kept the basic example in place, because I think it's helpful to have something here, and updated it to the same Svelte 5 example that now also lives in the STL repo.

mcous avatar Jun 13 '25 21:06 mcous

Deploy Preview for testing-library ready!

Name Link
Latest commit d874c2c23920c99eaf14f360545a3f5ad5131acf
Latest deploy log https://app.netlify.com/projects/testing-library/deploys/684c93b22bf3200008aa9a78
Deploy Preview https://deploy-preview-1487--testing-library.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Jun 13 '25 21:06 netlify[bot]

Hey @timdeschryver! Yup this one is still good. Will tag you next time I need to put something up

mcous avatar Sep 08 '25 13:09 mcous