mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(core): Introduce simplified node versioning (#3205)
* ✨ Introduce simple node versioning * ⚡ Add example how to read version in node-code for custom logic * 🐛 Fix setting of parameters * 🐛 Fix another instance where it sets the wrong parameter * ⚡ Remove unnecessary TOODs * ⚡ Revert Set Node example changes * ;rotating_light: Add test
This commit is contained in:
@@ -3018,6 +3018,7 @@ describe('Workflow', () => {
|
||||
testData.input.nodeValues,
|
||||
false,
|
||||
false,
|
||||
null,
|
||||
);
|
||||
expect(result).toEqual(testData.output.noneDisplayedFalse.defaultsFalse);
|
||||
|
||||
@@ -3027,6 +3028,7 @@ describe('Workflow', () => {
|
||||
testData.input.nodeValues,
|
||||
true,
|
||||
false,
|
||||
null,
|
||||
);
|
||||
expect(result).toEqual(testData.output.noneDisplayedFalse.defaultsTrue);
|
||||
|
||||
@@ -3036,6 +3038,7 @@ describe('Workflow', () => {
|
||||
testData.input.nodeValues,
|
||||
false,
|
||||
true,
|
||||
null,
|
||||
);
|
||||
expect(result).toEqual(testData.output.noneDisplayedTrue.defaultsFalse);
|
||||
|
||||
@@ -3045,6 +3048,7 @@ describe('Workflow', () => {
|
||||
testData.input.nodeValues,
|
||||
true,
|
||||
true,
|
||||
null,
|
||||
);
|
||||
expect(result).toEqual(testData.output.noneDisplayedTrue.defaultsTrue);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user