mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-06 05:23:08 +00:00
fix: complete Phase 4 integration test fixes
- Fixed better-sqlite3 ES module imports across all tests - Updated template repository method to handle undefined results - Fixed all database column references to match schema - Corrected MCP transport initialization - All integration tests now passing
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { describe, it, expect, beforeEach, afterEach } from 'vitest';
|
||||
import * as Database from 'better-sqlite3';
|
||||
import Database from 'better-sqlite3';
|
||||
import { TestDatabase, TestDataGenerator, PerformanceMonitor } from './test-utils';
|
||||
|
||||
describe('FTS5 Full-Text Search', () => {
|
||||
let testDb: TestDatabase;
|
||||
let db: Database;
|
||||
let db: Database.Database;
|
||||
|
||||
beforeEach(async () => {
|
||||
testDb = new TestDatabase({ mode: 'memory', enableFTS5: true });
|
||||
|
||||
Reference in New Issue
Block a user