News for hackers. Stuff that matters.
Re:Next.js 10 by dfrsol on Tuesday October 27, 2020 @03:16PM (#24910765)
How are y'all testing your svelte apps/components? Jest+Testing Lib seems to have issues calculating code coverage and there are few quirks like having to do work arounds to test slots that prevent me from totally switching over.
Re:Next.js 10 by erokar on Tuesday October 27, 2020 @03:32PM (#24910918)
Our test coverage of the Svelte apps is meagre so far to be honest.
Re:Next.js 10 by rsyring on Friday October 30, 2020 @09:52AM (#24942170)
Their response to "How do I test Svelte apps?"

"We don't have a good answer for that yet, but it is a priority."

I was interested in Svelte until I read this. When they have a good answer, I'll be interested again.

https://svelte.dev/faq#how-do-i-test-svelte-apps

Re:Next.js 10 by Existenceblinks on Sunday November 08, 2020 @01:27AM (#25023583)
The solution to this, I believe, is making template a function: https://news.ycombinator.com/item?id=25023551