mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
fix(core): Support helpers.request in task runners (#15859)
This commit is contained in:
@@ -30,6 +30,7 @@ describe('TaskRequester', () => {
|
||||
['helpers.setBinaryDataBuffer', [{ data: '123' }, Buffer.from('data').toJSON()]],
|
||||
['helpers.binaryToString', [Buffer.from('data').toJSON(), 'utf8']],
|
||||
['helpers.httpRequest', [{ url: 'http://localhost' }]],
|
||||
['helpers.request', [{ url: 'http://localhost' }]],
|
||||
])('should handle %s rpc call', async (methodName, args) => {
|
||||
const executeFunctions = set({}, methodName.split('.'), jest.fn());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user