From ce0388d9dee17ebcacda901f128295de5b18a0cb Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 17 May 2023 16:46:34 +0530 Subject: [PATCH] test: remove conditions for value --- .../dashboard/helper/specs/actionQueryGenerator.spec.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/javascript/dashboard/helper/specs/actionQueryGenerator.spec.js b/app/javascript/dashboard/helper/specs/actionQueryGenerator.spec.js index 77cfb5d28..cfb5b4290 100644 --- a/app/javascript/dashboard/helper/specs/actionQueryGenerator.spec.js +++ b/app/javascript/dashboard/helper/specs/actionQueryGenerator.spec.js @@ -34,10 +34,6 @@ const testData = [ action_name: 'assign_priority', action_params: { id: 'high', name: 'High' }, }, - { - action_name: 'test_action_params_with_id_and_value', - action_params: { value: null, id: 'should-be-skipped', name: 'None' }, - }, { action_name: 'test_action_with_no_id_no_value', action_params: { name: 'High' }, @@ -77,10 +73,6 @@ const finalResult = [ action_name: 'assign_priority', action_params: ['high'], }, - { - action_name: 'test_action_params_with_id_and_value', - action_params: [null], - }, { action_name: 'test_action_with_no_id_no_value', action_params: [