Egge on Nostr: I recently started to invest a lot of time in the npub.cash testing suite. It's a ...
I recently started to invest a lot of time in the npub.cash testing suite. It's a painful process as I am still new to test design and the original code was strongly coupled, but I am getting there.
Vitest comes with a UI that will let you inspect not only coverage, but also your codes module graph, which is a great help when trying to decouple.
Published at
2024-06-02 09:10:15Event JSON
{
"id": "eced3aa4cb365468019f1971778bf0f7b8fcede850ee9af49f46a9a6aaa880ae",
"pubkey": "ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe",
"created_at": 1717312215,
"kind": 1,
"tags": [],
"content": "I recently started to invest a lot of time in the npub.cash testing suite. It's a painful process as I am still new to test design and the original code was strongly coupled, but I am getting there.\n\nVitest comes with a UI that will let you inspect not only coverage, but also your codes module graph, which is a great help when trying to decouple.\n\nhttps://image.nostr.build/6e6639b2ec45648bb7bd159e3678c13e2e1bd16acd0550c3dc4f748750b668ca.png",
"sig": "2f6191acebaedd69baba043640be09feab44407b142e44552406fa0825309ddcbb415d08c99b7831adae14fee8d9cf605f42ede78348010c48bbd8e4c5bd9896"
}