@@ -179,10 +179,10 @@ if (RUN_INTEGRATION_TESTS) {
179179 t . is ( describedSchedule . action . type , 'startWorkflow' ) ;
180180 t . is ( describedSchedule . action . workflowType , 'dummyWorkflow' ) ;
181181 t . deepEqual ( describedSchedule . action . memo , { 'my-memo' : 'foo' } ) ;
182- t . deepEqual ( describedSchedule . action . searchAttributes , [
183- [ 'CustomKeywordField' , [ 'test-value2' ] ] ,
184- [ 'CustomIntField' , 42 ] ,
185- ] ) ;
182+ t . deepEqual ( describedSchedule . action . searchAttributes , {
183+ 'CustomKeywordField' : [ 'test-value2' ] ,
184+ 'CustomIntField' : [ 42 ] ,
185+ } ) ;
186186 t . deepEqual ( describedSchedule . action . typedSearchAttributes , [
187187 searchAttributePair ( 'CustomIntField' , SearchAttributeType . INT , 42 ) ,
188188 // Note that the typed search attribute infers type TEXT from the value.
@@ -223,10 +223,10 @@ if (RUN_INTEGRATION_TESTS) {
223223 t . is ( describedSchedule . action . workflowType , 'dummyWorkflowWith2Args' ) ;
224224 t . deepEqual ( describedSchedule . action . args , [ 3 , 4 ] ) ;
225225 t . deepEqual ( describedSchedule . action . memo , { 'my-memo' : 'foo' } ) ;
226- t . deepEqual ( describedSchedule . action . searchAttributes , [
227- [ 'CustomKeywordField' , [ 'test-value2' ] ] ,
228- [ 'CustomIntField' , 42 ] ,
229- ] ) ;
226+ t . deepEqual ( describedSchedule . action . searchAttributes , {
227+ 'CustomKeywordField' : [ 'test-value2' ] ,
228+ 'CustomIntField' : [ 42 ] ,
229+ } ) ;
230230 t . deepEqual ( describedSchedule . action . typedSearchAttributes , [
231231 searchAttributePair ( 'CustomIntField' , SearchAttributeType . INT , 42 ) ,
232232 // Note that the typed search attribute "guesses" TEXT, inferred from the value.
0 commit comments