Why Nostr? What is Njump?
2024-10-24 16:14:47
in reply to

Aral Balkan on Nostr: PS. This is the Browser helper: And this is the Kitten process helper: The only thing ...

PS. This is the Browser helper:

https://codeberg.org/kitten/app/src/branch/regression-tests/tests/helpers/Browser.js

And this is the Kitten process helper:

https://codeberg.org/kitten/app/src/branch/regression-tests/tests/helpers/Kitten.js

The only thing I’ll eventually need to add is a WebSocket helper so I can mock Kitten’s htmx¹/Streaming HTML² requests and that should give me pretty good coverage without having to resort to orchestrating actual browsers.

(Also, the unit tests are in quite a dismal state so there’s lots to do.)

¹ https://kitten.small-web.org/tutorials/htmx-the-htmx-web-socket-extension-and-socket-routes/
² https://kitten.small-web.org/tutorials/streaming-html/

#Kitten #htmx #testing
Author Public Key
npub1p095l6jcegr5j3zz0zjg2zukf7aq34awuetvkkpc8z78qwlvwavs5hm5vl