Search
Items tagged with: nodeJS
Just updated the Kitten reference section on testing Kitten to include instructions on running the new regression and end-to-end tests.
Will only be of interest if you’re hacking on Kitten itself.
Really enjoying adding end-to-end tests to Kitten¹ using Playwright² and my own little Kitten controller class for starting/stopping/otherwise interacting with the Kitten server.
Just wrote some that comprehensively test identity creation and authentication for Small Web places:
codeberg.org/kitten/app/src/br…
Lots more to write but I think I’ve found a good flow :)
💕
¹ kitten.small-web.org
² playwright.dev
#Kitten #SmallWeb #Playwright #testing #NodeJS #JavaScript #web #dev
app/tests/end-to-end/examples.spec.js at regression-tests
app - A web development kit that’s small, purrs, and loves you.Codeberg.org
If you’re running a relatively recent version of Node.js – I’m on 22.x for Kitten¹ at the moment– and you use ES Modules (because, of course, you use ES Modules, right, because it’s almost 2025…) and you want to use .js extensions and not have to litter package.json files with "type": "module" all over the place, you can start Node with the following flag and it should Just Work™ ;)
--experimental-default-type
#NodeJS #ESM #ECMAScript #JavaScript #modules
Today @ 18:30 in Dublin: Come hear me talk about the Small Web and watch me demonstrate the current state of Kitten, Domain, and Place.
#ireland #dublin #SmallWeb #talk #presentation #web #dev #JavaScript #NodeJS #htmx #WebSockets #StreamingHTML #selfHosting #decentralisation #p2p #cryptography #dubSec #Kitten #Domain #Place #SmallTech
Dub|Sec October Meetup
October's Dub\|Sec social will take place in the [Camden Court Hotel](https://www.camdencourthotel.com/en/) on October 30th. We'll be there from 6.30pm. *Meetup
I’m going to present a talk on Small Web at the Dub|Sec meetup this Wednesday (October 30th at 6:30PM). The event takes place at The Camden Court Hotel in Dublin.
Pop by and say hi if you’re around.
meetup.com/dub-sec/events/3038…
#SmalWeb #peerToPeerWeb #Ireland #meetup #dublin #dubsec #Kitten #Domain #Place #NodeJS #HTML #CSS #JavaScript #htmx #WebSockets #web #dev
Dub|Sec October Meetup
October's Dub\|Sec social will take place in the [Camden Court Hotel](https://www.camdencourthotel.com/en/) on October 30th. We'll be there from 6.30pm. *Meetup
Quick heads up: I just deprecated @small-tech/tape-with-promises (for adding promise support to Tape 4.x).
npmjs.com/package/@small-tech/…
Tape version 5.x supports promises so my little module is no longer necessary unless you’re stuck on v4.x.
What’s tape? A neat little JavaScript unit testing framework I like:
Already use tape? Does your test runner need more monkeys and bananas? Try my tap-monkey module:
codeberg.org/small-tech/tap-mo…
🙊🍌
#tape #nodeJS #unitTesting #tapMonkey