I use jest-dynalite to run DynamoDB locally to avoid mocking database calls. It's so fast that I can create the necessary items before each test and reset the whole database between test. It's really good! Btw, despite the name, it works with well @vitest.dev github.com/freshollie/j...
github.comGitHub - freshollie/jest-dynalite: Jest preset to run Dynalite (DynamoDB local) per test runnerJest preset to run Dynalite (DynamoDB local) per test runner - freshollie/jest-dynalite
0 reposts2 likes