From 6598d23ff037acb12caab5cde6667ece95e64910 Mon Sep 17 00:00:00 2001 From: devendra-bruno Date: Thu, 15 May 2025 15:57:43 +0530 Subject: [PATCH] Removed mergeEnvrionmentVariables tests from common.spec.js --- .../bruno-electron/tests/utils/common.spec.js | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/packages/bruno-electron/tests/utils/common.spec.js b/packages/bruno-electron/tests/utils/common.spec.js index 0aedd4672..2d94048db 100644 --- a/packages/bruno-electron/tests/utils/common.spec.js +++ b/packages/bruno-electron/tests/utils/common.spec.js @@ -82,29 +82,4 @@ describe('utils: flattenDataForDotNotation', () => { expect(flattenDataForDotNotation(input)).toEqual(expectedOutput); }); -}); - - -describe('utils: mergeEnvironmentVariables', () => { - test('Merge two objects', () => { - const obj1 = { a: 1, b: 2 }; - const obj2 = { c: 3, d: 4 }; - const merged = mergeEnvironmentVariables(obj1, obj2); - expect(merged).toEqual({ a: 1, b: 2, c: 3, d: 4 }); - }); - // test merge objects with redundant keys - test('Merge objects with redundant keys', () => { - const obj1 = { a: 1, b: 2 }; - const obj2 = { b: 3, c: 4 }; - const merged = mergeEnvironmentVariables(obj1, obj2); - expect(merged).toEqual({ a: 1, b: 3, c: 4 }); - }); - // test merge objects with multiple redundant keys - test('Merge objects with multiple redundant keys', () => { - const obj1 = { a: 1, b: 2 }; - const obj2 = { b: 3, c: 4 }; - const obj3 = { c: 5, d: 6 }; - const merged = mergeEnvironmentVariables(obj1, obj2, obj3); - expect(merged).toEqual({ a: 1, b: 3, c: 5, d: 6 }); - }); }); \ No newline at end of file