mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-06 05:23:08 +00:00
chore: update .gitignore and local changes
- Add .mcp.json to .gitignore - Update database and test configurations - Add quick publish script 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -48,8 +48,15 @@ if (!testConfig.logging.debug) {
|
||||
|
||||
// Set up performance monitoring if enabled
|
||||
if (testConfig.performance) {
|
||||
// Use a high-resolution timer that maintains timing precision
|
||||
let startTime = process.hrtime.bigint();
|
||||
|
||||
global.performance = global.performance || {
|
||||
now: () => Date.now(),
|
||||
now: () => {
|
||||
// Convert nanoseconds to milliseconds with high precision
|
||||
const currentTime = process.hrtime.bigint();
|
||||
return Number(currentTime - startTime) / 1000000; // Convert nanoseconds to milliseconds
|
||||
},
|
||||
mark: vi.fn(),
|
||||
measure: vi.fn(),
|
||||
getEntriesByName: vi.fn(() => []),
|
||||
|
||||
Reference in New Issue
Block a user