mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 03:42:16 +00:00
fix(editor): Fix Insights display time saved from minutes (#14622)
This commit is contained in:
committed by
GitHub
parent
46d9b60049
commit
6dd7756191
@@ -37,8 +37,8 @@ describe('InsightsController', () => {
|
||||
total: { deviation: null, unit: 'count', value: 0 },
|
||||
failed: { deviation: null, unit: 'count', value: 0 },
|
||||
failureRate: { deviation: null, unit: 'ratio', value: 0 },
|
||||
averageRunTime: { deviation: null, unit: 'time', value: 0 },
|
||||
timeSaved: { deviation: null, unit: 'time', value: 0 },
|
||||
averageRunTime: { deviation: null, unit: 'millisecond', value: 0 },
|
||||
timeSaved: { deviation: null, unit: 'minute', value: 0 },
|
||||
});
|
||||
});
|
||||
|
||||
@@ -59,8 +59,8 @@ describe('InsightsController', () => {
|
||||
total: { deviation: null, unit: 'count', value: 30 },
|
||||
failed: { deviation: null, unit: 'count', value: 10 },
|
||||
failureRate: { deviation: null, unit: 'ratio', value: 0.333 },
|
||||
averageRunTime: { deviation: null, unit: 'time', value: 10 },
|
||||
timeSaved: { deviation: null, unit: 'time', value: 10 },
|
||||
averageRunTime: { deviation: null, unit: 'millisecond', value: 10 },
|
||||
timeSaved: { deviation: null, unit: 'minute', value: 10 },
|
||||
});
|
||||
});
|
||||
|
||||
@@ -85,8 +85,8 @@ describe('InsightsController', () => {
|
||||
total: { deviation: 10, unit: 'count', value: 30 },
|
||||
failed: { deviation: 6, unit: 'count', value: 10 },
|
||||
failureRate: { deviation: 0.333 - 0.2, unit: 'ratio', value: 0.333 },
|
||||
averageRunTime: { deviation: 300 / 30 - 40 / 20, unit: 'time', value: 10 },
|
||||
timeSaved: { deviation: 5, unit: 'time', value: 10 },
|
||||
averageRunTime: { deviation: 300 / 30 - 40 / 20, unit: 'millisecond', value: 10 },
|
||||
timeSaved: { deviation: 5, unit: 'minute', value: 10 },
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user