cypress-svelte-unit-test
cypress-svelte-unit-test copied to clipboard
Chore: Improve html template check
This PR simplifies the logic around template usage.
It adds a more strict check to html property of styleOptions and disregards empty strings.
The check that disregards empty strings as a valid value can be discussed. I believe it adds to convenience to disregard empty strings as a value, but it can also be a bit misleading as not error will be shown warning about setting that to empty.
This fix came when I was testing my other PR: Fix: properly destroy components after test case (#304)