mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
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
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:
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',
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue