Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Deco Vander 2025-07-05 21:47:28 -04:00 committed by GitHub
parent cc5803ac63
commit cc96940362
2 changed files with 3 additions and 6 deletions

View file

@ -7,10 +7,7 @@ process.env.NODE_ENV = 'test';
process.env.ADMIN_PASSWORD = 'test_admin_password';
process.env.MAPBOX_ACCESS_TOKEN = 'pk.test_token_here';
// Test database paths
export const TEST_DB_PATH = path.join(__dirname, 'test_icewatch.db');
export const TEST_PROFANITY_DB_PATH = path.join(__dirname, 'test_profanity.db');
// Removed unused constants TEST_DB_PATH and TEST_PROFANITY_DB_PATH
// Helper function to create test database
export const createTestDatabase = (): Promise<Database> => {
return new Promise((resolve, reject) => {