vitalicset.hashnode.devOption<T> and Result<T, E> in TypeScript: The Missing Error Handling PrimitivesTypeScript's type system is excellent at modeling data shapes. It's much weaker at modeling control flow — specifically, the two most common sources of bugs in any codebase: absent values and failed o4d ago·4 min read
vitalicset.hashnode.devAbortController Patterns for Playwright Test CancellationAbortController is one of the most underused tools in the JavaScript ecosystem -- especially in testing. If you are writing Playwright tests that make network requests, you should be using abort signals. Here is how and why. The Core Concept AbortCon...Feb 16·6 min read
vitalicset.hashnode.devIntroducing Playwright Labs: Best Practices as CodeWhat is Playwright Labs? Playwright Labs is a curated monorepo of skills and best practices designed specifically for modern testing workflows. Think of it as a knowledge base that integrates seamlessly with your development environment, providing co...Jan 20·6 min read
vitalicset.hashnode.devPlaywright + email = reporterRecently, I received a request from one of the project leads about integrating Playwright with Email. Since the email report was generated by a playwright written using React. That means we cannot send the same HTML report due to the interactive beha...Aug 1, 2025·3 min read
vitalicset.hashnode.devAjv-ts got 0.9. What's new?The latest Release 0.9 of the Schema Validation Toolkit - ajv-ts brings a suite of enhancements to improve developer productivity and ensure better validation accuracy. Whether you're building complex data models or just handling basic input, these u...Sep 16, 2024·3 min read