Month: January 2020

Step 15: 100% code coverage for backend end to end tests

Since we now have thorough code coverage reports, let’s get those coverage numbers to 100%. This PR does it for the backend. Oh god, I just noticed the branches are not fully covered! It’s all green, so I thought it’s done, but now as I’m publishing the screenshot I’m noticing some branches are still not …

Step 15: 100% code coverage for backend end to end tests Read More »

Step 14: code coverage for cypress end to end tests with istanbul

This PR is more about setting things up then it is about programming. Oh well, that’s what modern programming consists of for the most part – integrating third-party packages and then hacking around to make them do what’s required. Making cypress e2e tests work with istanbul is not trivial, especially for the backend – but …

Step 14: code coverage for cypress end to end tests with istanbul Read More »

Step 13: Angular CDK overlay backdrop fix for menus and selects

Isn’t it annoying when you open an Angular menu or select, the backdrop traps all mouse events? Here’s what I mean: Note how there’s a mouse hover effect on menu items, but once we open the user menu or the Bitcoin unit select, the effect is gone? It also takes 2 clicks to open the …

Step 13: Angular CDK overlay backdrop fix for menus and selects Read More »