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:
Tomi Turtiainen
2024-01-17 17:08:50 +02:00
committed by GitHub
parent 2eb829a6b4
commit 9a1cc56806
369 changed files with 1041 additions and 928 deletions

View File

@@ -65,6 +65,6 @@ describe('Test MicrosoftExcelV2, table => addTable', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -86,6 +86,6 @@ describe('Test MicrosoftExcelV2, table => append', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -61,6 +61,6 @@ describe('Test MicrosoftExcelV2, table => convertToRange', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -52,6 +52,6 @@ describe('Test MicrosoftExcelV2, table => deleteTable', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -66,6 +66,6 @@ describe('Test MicrosoftExcelV2, table => getColumns', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -90,6 +90,6 @@ describe('Test MicrosoftExcelV2, table => getRows', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -107,6 +107,6 @@ describe('Test MicrosoftExcelV2, table => lookup', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -82,6 +82,6 @@ describe('Test MicrosoftExcelV2, workbook => addWorksheet', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -52,6 +52,6 @@ describe('Test MicrosoftExcelV2, workbook => deleteWorkbook', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -67,6 +67,6 @@ describe('Test MicrosoftExcelV2, workbook => getAll', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -49,6 +49,6 @@ describe('Test MicrosoftExcelV2, worksheet => append', () => {
const nodeTypes = setup(tests);
for (const testData of tests) {
test(testData.description, async () => equalityTest(testData, nodeTypes));
test(testData.description, async () => await equalityTest(testData, nodeTypes));
}
});

View File

@@ -61,6 +61,6 @@ describe('Test MicrosoftExcelV2, worksheet => clear', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -60,6 +60,6 @@ describe('Test MicrosoftExcelV2, worksheet => deleteWorksheet', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -69,6 +69,6 @@ describe('Test MicrosoftExcelV2, worksheet => getAll', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -46,6 +46,6 @@ describe('Test MicrosoftExcelV2, worksheet => readRows', () => {
const nodeTypes = setup(tests);
for (const testData of tests) {
test(testData.description, async () => equalityTest(testData, nodeTypes));
test(testData.description, async () => await equalityTest(testData, nodeTypes));
}
});

View File

@@ -59,6 +59,6 @@ describe('Test MicrosoftExcelV2, worksheet => update', () => {
const nodeTypes = setup(tests);
for (const testData of tests) {
test(testData.description, async () => equalityTest(testData, nodeTypes));
test(testData.description, async () => await equalityTest(testData, nodeTypes));
}
});

View File

@@ -61,6 +61,6 @@ describe('Test MicrosoftExcelV2, worksheet => upsert', () => {
const nodeTypes = setup(tests);
for (const testData of tests) {
test(testData.description, async () => equalityTest(testData, nodeTypes));
test(testData.description, async () => await equalityTest(testData, nodeTypes));
}
});

View File

@@ -22,6 +22,6 @@ export class MicrosoftExcelV2 implements INodeType {
methods = { listSearch, loadOptions };
async execute(this: IExecuteFunctions) {
return router.call(this);
return await router.call(this);
}
}