mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(core): Fix type errors (no-changelog) (#9571)
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user