@@ -2340,62 +2340,6 @@ describe('hasWorkflowChanged', () => {
23402340 expect ( hasWorkflowChanged ( currentState , deployedState ) ) . toBe ( false )
23412341 } )
23422342
2343- it . concurrent ( 'should not detect change when testUrl differs' , ( ) => {
2344- const deployedState = createWorkflowState ( {
2345- blocks : {
2346- block1 : createBlock ( 'block1' , {
2347- type : 'starter' ,
2348- subBlocks : {
2349- triggerConfig : { value : { event : 'push' } } ,
2350- testUrl : { value : null } ,
2351- } ,
2352- } ) ,
2353- } ,
2354- } )
2355-
2356- const currentState = createWorkflowState ( {
2357- blocks : {
2358- block1 : createBlock ( 'block1' , {
2359- type : 'starter' ,
2360- subBlocks : {
2361- triggerConfig : { value : { event : 'push' } } ,
2362- testUrl : { value : 'https://test.example.com/webhook' } ,
2363- } ,
2364- } ) ,
2365- } ,
2366- } )
2367-
2368- expect ( hasWorkflowChanged ( currentState , deployedState ) ) . toBe ( false )
2369- } )
2370-
2371- it . concurrent ( 'should not detect change when testUrlExpiresAt differs' , ( ) => {
2372- const deployedState = createWorkflowState ( {
2373- blocks : {
2374- block1 : createBlock ( 'block1' , {
2375- type : 'starter' ,
2376- subBlocks : {
2377- triggerConfig : { value : { event : 'push' } } ,
2378- testUrlExpiresAt : { value : null } ,
2379- } ,
2380- } ) ,
2381- } ,
2382- } )
2383-
2384- const currentState = createWorkflowState ( {
2385- blocks : {
2386- block1 : createBlock ( 'block1' , {
2387- type : 'starter' ,
2388- subBlocks : {
2389- triggerConfig : { value : { event : 'push' } } ,
2390- testUrlExpiresAt : { value : '2025-12-31T23:59:59Z' } ,
2391- } ,
2392- } ) ,
2393- } ,
2394- } )
2395-
2396- expect ( hasWorkflowChanged ( currentState , deployedState ) ) . toBe ( false )
2397- } )
2398-
23992343 it . concurrent ( 'should not detect change when all runtime metadata differs' , ( ) => {
24002344 const deployedState = createWorkflowState ( {
24012345 blocks : {
@@ -2405,8 +2349,6 @@ describe('hasWorkflowChanged', () => {
24052349 triggerConfig : { value : { event : 'push' } } ,
24062350 webhookId : { value : null } ,
24072351 triggerPath : { value : '' } ,
2408- testUrl : { value : null } ,
2409- testUrlExpiresAt : { value : null } ,
24102352 } ,
24112353 } ) ,
24122354 } ,
@@ -2420,8 +2362,6 @@ describe('hasWorkflowChanged', () => {
24202362 triggerConfig : { value : { event : 'push' } } ,
24212363 webhookId : { value : 'wh_123456' } ,
24222364 triggerPath : { value : '/api/webhooks/abc123' } ,
2423- testUrl : { value : 'https://test.example.com/webhook' } ,
2424- testUrlExpiresAt : { value : '2025-12-31T23:59:59Z' } ,
24252365 } ,
24262366 } ) ,
24272367 } ,
0 commit comments