ci: Remove hard-coded package version in unit tests (no-changelog) (#10414)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2024-08-14 17:30:45 +02:00 committed by GitHub
parent 67a10983df
commit 483e324d4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,7 @@ import type { SharedWorkflowRepository } from '@/databases/repositories/sharedWo
import type { ProjectRelationRepository } from '@/databases/repositories/projectRelation.repository';
import type { RelayEventMap } from '@/events/relay-event-map';
import type { WorkflowEntity } from '@/databases/entities/WorkflowEntity';
import { N8N_VERSION } from '@/constants';
const flushPromises = async () => await new Promise((resolve) => setImmediate(resolve));
@ -694,7 +695,7 @@ describe('TelemetryEventRelay', () => {
is_manual: false,
success: false,
user_id: 'user123',
version_cli: '1.54.0',
version_cli: N8N_VERSION,
workflow_id: 'workflow123',
});
});