From 240f56b49d4087fac9689f7f1396a7d78ed02bdd Mon Sep 17 00:00:00 2001 From: Deco Vander Date: Fri, 4 Jul 2025 14:07:42 -0400 Subject: [PATCH] Update tests/routes.test.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- tests/routes.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/routes.test.js b/tests/routes.test.js index 232f8d3..5d58963 100644 --- a/tests/routes.test.js +++ b/tests/routes.test.js @@ -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) => {