File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
apps/sim/executor/variables/resolvers Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -257,15 +257,9 @@ describe('BlockResolver', () => {
257257 expect ( result ) . toBe ( '"hello"' )
258258 } )
259259
260- it . concurrent ( 'should format string for function block in template literal ' , ( ) => {
260+ it . concurrent ( 'should format object for function block' , ( ) => {
261261 const resolver = new BlockResolver ( createTestWorkflow ( ) )
262- const result = resolver . formatValueForBlock ( 'hello' , 'function' , true )
263- expect ( result ) . toBe ( 'hello' )
264- } )
265-
266- it . concurrent ( 'should format object for function block in template literal' , ( ) => {
267- const resolver = new BlockResolver ( createTestWorkflow ( ) )
268- const result = resolver . formatValueForBlock ( { a : 1 } , 'function' , true )
262+ const result = resolver . formatValueForBlock ( { a : 1 } , 'function' )
269263 expect ( result ) . toBe ( '{"a":1}' )
270264 } )
271265
You can’t perform that action at this time.
0 commit comments