Update tests/routes.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Deco Vander 2025-07-04 14:07:42 -04:00 committed by GitHub
parent 4fdaa4f7da
commit 240f56b49d

View file

@ -22,7 +22,7 @@ describe('API Routes', () => {
profanityFilter = new ProfanityFilter(':memory:');
// Wait for profanity filter initialization
await new Promise(resolve => setTimeout(resolve, 300));
await profanityFilter.ready();
// Initialize locations table synchronously
await new Promise((resolve, reject) => {