You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[@web/test-runner] Very basic Solid.js example not working inside Web Test Runner unit test #2985
It appears that WTR's default build is transforming the code (f.e. the import statements) that leads to the breakage for some reason. Importing natively, based on the importmap pointing to CDN, works fine.
(I have solid-js installed locally only for making type definitions available.)
Activity
trusktr commentedon Sep 27, 2025
A workaround is to change this,
to this
and it works!
To workaround missing type definitions due to
eval, I can do this:It appears that WTR's default build is transforming the code (f.e. the
importstatements) that leads to the breakage for some reason. Importing natively, based on the importmap pointing to CDN, works fine.(I have
solid-jsinstalled locally only for making type definitions available.)trusktr commentedon Sep 27, 2025
It would be nicer if I could disable all source transformation to keep native
importworking as expected: