Files
flyer-crawler.projectium.com/global-setup.ts
Torben Sorensen f6094df456
Some checks are pending
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Has started running
database expansion prior to creating on server - also error cleanup, some logging - DONE now for testing hehehe
2025-11-20 20:31:40 -08:00

19 lines
710 B
TypeScript

/**
* This function is executed once before all tests.
* It assumes the database is already running and connection details are
* provided via environment variables (e.g., in a CI/CD environment).
*/
export async function setup() {
console.log('\nPreparing for database integration tests...');
// In this configuration, we expect the test runner's environment (e.g., the Gitea runner)
// to have the necessary DB connection environment variables set (DB_HOST, DB_USER, etc.).
// The db.ts service will pick them up automatically.
}
/**
* This function is executed once after all tests have completed.
*/
export async function teardown() {
console.log('Database integration tests finished.');
}