Update tests/routes.test.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4fdaa4f7da
commit
240f56b49d
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue