Hands on with Node’s new built-in test runner

June 6, 2023 By Mark Otto 0

Node.js Weekly

qnm: A CLI Tool to Look Into node_modules — If you’ve been into a node_modules folder and been overwhelmed, this tool (supporting both npm and Yarn) lets you dig around with extra guidance as to what is what. You can use fuzzy search to find specific things, and also see which modules are using the most space (you could try that right now with npx qnm doctor).

Ran Yitzhaki

💡 Don’t forget about the always handy NPKILL for if you actually want to clear away those node_modules nightmares.. 😁

Full Stack for Front-End Engineers with Jem Young (Netflix) — Learn what it means to become a well-rounded full-stack engineer with this hands-on video course. You’ll dive into servers, work with the command line, understand networking and security, set up continuous integration and deployment, manage databases, build containers, and more.

Frontend Masters

Hands On with Node’s Built-In Test Runner — The built-in test runner became stable with the release of Node 20 and a lot of folks are now figuring out how to use it in their workflows. Phil walks through it with an easily understood and complete example here.

Phil Nash

🛠 It must be the week for testing, as endpts has shared a thorough built-in test runner primer too, and NearForm’s Rômulo Vitoi takes it a step further by showing us how to build a custom test reporter.

▶  How to Deploy a Node App on to AWS Elastic Beanstalk — Elastic Beanstalk is an AWS-only orchestration service for deploying apps on to services like EC2 and S3. It’s 12 years old now and predates Docker, Kubernetes, etc. but is still actively maintained and provides an experience many folks prefer to heavier alternatives.

Digital Cloud

🛠 Code & Tools

Prisma-Lint: A Linter for Prisma Schema Files — The team behind this tool has dozens of schema files to stay on top of, so they built this to maintain a consistent style and ensure they have the proper indices in place.

Loop Payments

Actio: A Framework for Backend Apps — A framework that ‘blurs the line’ between microservices and monoliths giving the flexilibity to experiment with your approach. Comes with a few ‘batteries included’ services for areas like auth, file upload support, configuration, and payments. (Examples.)

Crufters

DOT Classes: TypeScript Library to Model Data Transfer Objects — Designed to model data transfer objects in HTTP JSON APIs using class-based schemas that serialize/deserialize, static types by default, custom validation support, and an API that may feel familiar if you use OpenAPI and JSON Schema.

Robert Singer

Find Tech Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired