Open KonnorRogers opened 4 weeks ago
Thank you for the report. This occurs specifically because the iterable contains TemplateResult
s made with the html
tag function. The annoying limitation with the way the testing plugin works is that all expression values need to be serializable which template results are not. See https://github.com/lit/lit/issues/4015
Which package(s) are affected?
SSR (@lit-labs/ssr)
Description
When I use an iterable like an array in Lit SSR Web Test Runner plugin, I get the following error:
Reproduction
https://github.com/KonnorRogers/lit-ssr-iterable-bug-reproduction
Workaround
None that ive found, besides manually iterating and creating nodes.
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
3.2.0
Browser/OS/Node environment
Node 20.9.0 MacOS 14.5 Browser N/A Web Test Runner: 0.18.3