feat(n8n Form Trigger Node): Respond with File (#13507)

This commit is contained in:
Dana
2025-03-19 12:56:40 +01:00
committed by GitHub
parent 17fc5c148b
commit 8f46371d77
5 changed files with 344 additions and 3 deletions

View File

@@ -232,6 +232,7 @@ describe('Form Node', () => {
message: 'Test Message',
redirectUrl: '',
title: 'Test Title',
responseBinary: encodeURIComponent(JSON.stringify('')),
responseText: '',
},
},
@@ -246,6 +247,7 @@ describe('Form Node', () => {
redirectUrl: '',
title: 'Test Title',
responseText: '<div>hey</div>',
responseBinary: encodeURIComponent(JSON.stringify('')),
},
},
{
@@ -257,6 +259,7 @@ describe('Form Node', () => {
formTitle: 'test',
message: 'Test Message',
redirectUrl: '',
responseBinary: encodeURIComponent(JSON.stringify('')),
title: 'Test Title',
responseText: 'my text over here',
},
@@ -434,6 +437,7 @@ describe('Form Node', () => {
redirectUrl: 'https://n8n.io',
responseText: '',
title: 'Test Title',
responseBinary: encodeURIComponent(JSON.stringify('')),
});
});
});