diff --git a/workflow_tests/mocks/failureNotifierMocks.js b/workflow_tests/mocks/failureNotifierMocks.js index 9e41859a29d4..6d37f08ff7ac 100644 --- a/workflow_tests/mocks/failureNotifierMocks.js +++ b/workflow_tests/mocks/failureNotifierMocks.js @@ -2,20 +2,8 @@ const utils = require('../utils/utils'); // notifyfailure -const FAILURENOTIFIER__NOTIFYFAILURE__FETCH_WORKFLOW_RUN_JOBS__STEP_MOCK = utils.createMockStep( - 'Fetch Workflow Run Jobs', - 'Fetch Workflow Run Jobs', - 'NOTIFYFAILURE', - [], - [], -); -const FAILURENOTIFIER__NOTIFYFAILURE__PROCESS_EACH_FAILED_JOB__STEP_MOCK = utils.createMockStep( - 'Process Each Failed Job', - 'Process Each Failed Job', - 'NOTIFYFAILURE', - [], - [], -); +const FAILURENOTIFIER__NOTIFYFAILURE__FETCH_WORKFLOW_RUN_JOBS__STEP_MOCK = utils.createMockStep('Fetch Workflow Run Jobs', 'Fetch Workflow Run Jobs', 'NOTIFYFAILURE', [], []); +const FAILURENOTIFIER__NOTIFYFAILURE__PROCESS_EACH_FAILED_JOB__STEP_MOCK = utils.createMockStep('Process Each Failed Job', 'Process Each Failed Job', 'NOTIFYFAILURE', [], []); const FAILURENOTIFIER__NOTIFYFAILURE__STEP_MOCKS = [FAILURENOTIFIER__NOTIFYFAILURE__FETCH_WORKFLOW_RUN_JOBS__STEP_MOCK, FAILURENOTIFIER__NOTIFYFAILURE__PROCESS_EACH_FAILED_JOB__STEP_MOCK]; module.exports = {