patricknelson / svelte-retag

Light DOM custom element wrapper for Svelte 3 and 4 with slots, context and Vite HMR support
https://www.npmjs.com/package/svelte-retag
MIT License
39 stars 0 forks source link

Unit tests: Using DOM queries instead of HTML to validate tests #46

Closed patricknelson closed 9 months ago

patricknelson commented 9 months ago

Use query selectors and etc to validate the results of tests instead of doing direct HTML comparisons. This is a little more intuitive and also an important gradual step in moving away from the <svelte-retag> wrapper (see #20).

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-retag ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2023 5:02am