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

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

View File

@@ -57,6 +57,6 @@ describe('Test DiscordV2, channel => deleteChannel', () => {
};
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 DiscordV2, channel => get', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

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

View File

@@ -64,6 +64,6 @@ describe('Test DiscordV2, channel => update', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -85,6 +85,6 @@ describe('Test DiscordV2, member => 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 DiscordV2, member => roleAdd', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -57,6 +57,6 @@ describe('Test DiscordV2, member => roleRemove', () => {
};
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 DiscordV2, message => deleteMessage', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -68,6 +68,6 @@ describe('Test DiscordV2, message => get', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -93,6 +93,6 @@ describe('Test DiscordV2, message => 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 DiscordV2, message => react', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -102,6 +102,6 @@ describe('Test DiscordV2, message => send', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});

View File

@@ -99,6 +99,6 @@ describe('Test DiscordV2, webhook => sendLegacy', () => {
};
for (const testData of tests) {
test(testData.description, async () => testNode(testData, nodeTypes));
test(testData.description, async () => await testNode(testData, nodeTypes));
}
});