Testing, CodeTest RxJS interval and debounceTime without waiting real secondsAngular fakeAsync and tick beat setTimeout waits and jasmine.clock for time-based RxJS5 observables in unit tests.
Ionic, Testing, CodeMock Ionic ModalController to test onDidDismissA reusable PresentableControllerMock so unit tests can dismiss modals, alerts, and toasts and assert the page callback.
AI, Code, Testing, OpinionsGuardrails beat guidelines — how to keep AI-generated code honestYou cannot prompt AI-generated code into being reliable. What works is what always worked with new hires — guardrails that say no.
Testing, Tools, CodeCI was red for six weeks — and the site never noticedMy blog's CI has failed on every single push since June 20th. The site kept deploying fine the whole time, which is exactly the problem.