Lea Rosema on Nostr: That test runner is available since node 20 I think. You can run it via node --test ...
That test runner is available since node 20 I think. You can run it via node --test
By default, it will just catch all *.test.js files and run them. Pretty nice and way more lightweight than jest.
Published at
2024-09-18 13:43:38Event JSON
{
"id": "058df53bc5251080594495a6ead4eece8e5791113e311b9b4b972d3e34ab69ee",
"pubkey": "f08a637f70295418bc754097b336bb0f1c8ff89d6e2d4ad40fcd258b33000e05",
"created_at": 1726667018,
"kind": 1,
"tags": [
[
"e",
"4391af688204dc06aef8afe7f7944ba2b9c90f0b097f7befba198cc5a86e2fb9",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://lea.lgbt/users/lea/statuses/113158849701164292",
"activitypub"
]
],
"content": "That test runner is available since node 20 I think. You can run it via node --test\n\nBy default, it will just catch all *.test.js files and run them. Pretty nice and way more lightweight than jest.",
"sig": "41e0c262b1c9904a578c3855cd93d26e4b21b8a22197db9b4eca340e9a0d15259b40aa0e6494c24cb6ebd84f026f1261b9bf5880a14f726032dfe25a16c9d204"
}