mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
ci: Remove hard-coded package version in unit tests (no-changelog) (#10414)
This commit is contained in:
committed by
GitHub
parent
67a10983df
commit
483e324d4c
@@ -13,6 +13,7 @@ import type { SharedWorkflowRepository } from '@/databases/repositories/sharedWo
|
|||||||
import type { ProjectRelationRepository } from '@/databases/repositories/projectRelation.repository';
|
import type { ProjectRelationRepository } from '@/databases/repositories/projectRelation.repository';
|
||||||
import type { RelayEventMap } from '@/events/relay-event-map';
|
import type { RelayEventMap } from '@/events/relay-event-map';
|
||||||
import type { WorkflowEntity } from '@/databases/entities/WorkflowEntity';
|
import type { WorkflowEntity } from '@/databases/entities/WorkflowEntity';
|
||||||
|
import { N8N_VERSION } from '@/constants';
|
||||||
|
|
||||||
const flushPromises = async () => await new Promise((resolve) => setImmediate(resolve));
|
const flushPromises = async () => await new Promise((resolve) => setImmediate(resolve));
|
||||||
|
|
||||||
@@ -694,7 +695,7 @@ describe('TelemetryEventRelay', () => {
|
|||||||
is_manual: false,
|
is_manual: false,
|
||||||
success: false,
|
success: false,
|
||||||
user_id: 'user123',
|
user_id: 'user123',
|
||||||
version_cli: '1.54.0',
|
version_cli: N8N_VERSION,
|
||||||
workflow_id: 'workflow123',
|
workflow_id: 'workflow123',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user