cypress-svelte-unit-test icon indicating copy to clipboard operation
cypress-svelte-unit-test copied to clipboard

Chore: Improve html template check

Open royalrex opened this issue 2 years ago • 0 comments

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)

royalrex avatar Dec 29 '22 08:12 royalrex