From c26448136146267440037f3c395db7f904835995 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Mon, 26 Jan 2026 01:14:07 -0800 Subject: [PATCH] fix tests --- apps/sim/executor/variables/resolvers/block.test.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/sim/executor/variables/resolvers/block.test.ts b/apps/sim/executor/variables/resolvers/block.test.ts index f08b22fc2..01a804900 100644 --- a/apps/sim/executor/variables/resolvers/block.test.ts +++ b/apps/sim/executor/variables/resolvers/block.test.ts @@ -257,15 +257,9 @@ describe('BlockResolver', () => { expect(result).toBe('"hello"') }) - it.concurrent('should format string for function block in template literal', () => { + it.concurrent('should format object for function block', () => { const resolver = new BlockResolver(createTestWorkflow()) - const result = resolver.formatValueForBlock('hello', 'function', true) - expect(result).toBe('hello') - }) - - it.concurrent('should format object for function block in template literal', () => { - const resolver = new BlockResolver(createTestWorkflow()) - const result = resolver.formatValueForBlock({ a: 1 }, 'function', true) + const result = resolver.formatValueForBlock({ a: 1 }, 'function') expect(result).toBe('{"a":1}') })