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:
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user