Fix jwt-token
This commit is contained in:
@@ -20,7 +20,7 @@ afterEach(() => {
|
||||
// Test database configuration
|
||||
const testDatabase = {
|
||||
dialect: 'sqlite',
|
||||
storage: ':memory:', // In-memory database for fast tests
|
||||
storage: './test.db', // Use same file database as models/index.js
|
||||
logging: false, // Disable SQL logging in tests
|
||||
sync: { force: true } // Always recreate tables for tests
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user