mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) (#8363)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -5,7 +5,7 @@ import type { INodeTypeData } from 'n8n-workflow';
|
||||
* the macrotask queue and so called at the next iteration of the event loop
|
||||
* after all promises in the microtask queue have settled first.
|
||||
*/
|
||||
export const flushPromises = async () => new Promise(setImmediate);
|
||||
export const flushPromises = async () => await new Promise(setImmediate);
|
||||
|
||||
export function mockNodeTypesData(
|
||||
nodeNames: string[],
|
||||
|
||||
Reference in New Issue
Block a user