Testing Encore.ts Applications Instructions Encore.ts uses standard TypeScript testing tools. The recommended setup is Vitest. Setup Vitest Add to : Test an API Endpoint Run Tests Using is recommended because it: - Sets up test databases automatically - Provides isolated infrastructure per test - Handles service dependencies Test with Request Parameters Test Database Operations Encore provides isolated test databases: Test Service-to-Service Calls Test Error Cases Test Authenticated Endpoints Mock to call endpoints directly as a given user: The mock only affects code in the test process that…