color-js/color.js

Newly broken tests

Closed this issue · 7 comments

Object construction

Screenshot 2024-05-23 at 7 01 23 PM

Parsing. I think these are new? Are they supposed to be failing?

Screenshot 2024-05-23 at 7 03 10 PM

It seems to be an hTest bug, not actual failing tests.

Ah, in that case, feel free to close unless you want to track resolution of the hTest issue.

It seems to be an hTest bug, not actual failing tests.

My investigation showed that the issue is that the test suite uses, for some reason, the old version of hTest—it uses the old version of the equals() function:

SCR-20240525-bdcq

Is there a chance that htest.dev serves a cached version of hTest used by this HTML-first test suite?

<script src="https://htest.dev/htest.js" type="module" crossorigin></script>

This is not an HTML-first testsuite, it's an HTML adapter for displaying the JS-first tests.

We are doing a weird thing to import from node_modules locally and from the htest.dev website remotely which I plan to replace with a redirect. Not sure if that will make a difference.

A-ha! htest.dev stopped deploying 2 months ago, that must be it!

Turns out it was that I upgraded to 11ty 3.0 which requires Node > 18, and it was somehow set to Node 16. Fixed now!

Thanks @DmitrySharabin for investigating!