fix(core): Fix type errors (no-changelog) (#9571)

This commit is contained in:
Danny Martini
2024-05-31 14:06:13 +02:00
committed by GitHub
parent 400c005866
commit 8da0d6e9ba
22 changed files with 30 additions and 42 deletions

View File

@@ -306,7 +306,7 @@ describe('PATCH /variables/:id', () => {
});
test('should not modify existing variable if one with the same key exists', async () => {
const [var1, var2] = await Promise.all([
const [var1] = await Promise.all([
createVariable('test1', 'value1'),
createVariable(toModify.key, toModify.value),
]);
@@ -327,7 +327,7 @@ describe('PATCH /variables/:id', () => {
// ----------------------------------------
describe('DELETE /variables/:id', () => {
test('should delete a single variable for an owner', async () => {
const [var1, var2, var3] = await Promise.all([
const [var1] = await Promise.all([
createVariable('test1', 'value1'),
createVariable('test2', 'value2'),
createVariable('test3', 'value3'),
@@ -344,7 +344,7 @@ describe('DELETE /variables/:id', () => {
});
test('should not delete a single variable for a member', async () => {
const [var1, var2, var3] = await Promise.all([
const [var1] = await Promise.all([
createVariable('test1', 'value1'),
createVariable('test2', 'value2'),
createVariable('test3', 'value3'),