mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor(core): Persist node execution order, and forward it to the frontend (#14455)
This commit is contained in:
committed by
GitHub
parent
707ecb63ae
commit
9ba58ca80b
@@ -359,8 +359,9 @@ describe('RunData', () => {
|
||||
const { getByTestId, queryByTestId } = render({
|
||||
runs: [
|
||||
{
|
||||
startTime: new Date().getTime(),
|
||||
executionTime: new Date().getTime(),
|
||||
startTime: Date.now(),
|
||||
executionIndex: 0,
|
||||
executionTime: 1,
|
||||
data: {
|
||||
main: [[{ json: {} }]],
|
||||
},
|
||||
@@ -368,8 +369,9 @@ describe('RunData', () => {
|
||||
metadata,
|
||||
},
|
||||
{
|
||||
startTime: new Date().getTime(),
|
||||
executionTime: new Date().getTime(),
|
||||
startTime: Date.now(),
|
||||
executionIndex: 1,
|
||||
executionTime: 1,
|
||||
data: {
|
||||
main: [[{ json: {} }]],
|
||||
},
|
||||
@@ -413,6 +415,7 @@ describe('RunData', () => {
|
||||
{
|
||||
hints: [],
|
||||
startTime: 1737643696893,
|
||||
executionIndex: 0,
|
||||
executionTime: 2,
|
||||
source: [
|
||||
{
|
||||
@@ -598,8 +601,9 @@ describe('RunData', () => {
|
||||
runs?: ITaskData[];
|
||||
}) => {
|
||||
const defaultRun: ITaskData = {
|
||||
startTime: new Date().getTime(),
|
||||
executionTime: new Date().getTime(),
|
||||
startTime: Date.now(),
|
||||
executionIndex: 0,
|
||||
executionTime: 1,
|
||||
data: {
|
||||
main: [defaultRunItems ?? [{ json: {} }]],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user