test: remove conditions for value

This commit is contained in:
Shivam Mishra
2023-05-17 16:46:34 +05:30
parent 17052113f5
commit ce0388d9de
@@ -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: [