-
testcontainers-node
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
to simplify the database environment setup (or at least to make it a bit more programmatic) I've found the testcontainers library to work really well
I strive to make each it test independent from other tests, so that it can be run in isolation. So for instance todo.service.int-spec.ts would become like this. It's definitely more verbose, but I've found that as the test file grows having dependent tests can make them harder to follow / understand, which is a compromise I tend to prefer