diff --git a/__tests__/utils.spec.js b/__tests__/utils.spec.js index b62086e7..ede84f02 100644 --- a/__tests__/utils.spec.js +++ b/__tests__/utils.spec.js @@ -1,6 +1,7 @@ import { formatChannelName, buildSlackAttachments } from '../src/utils'; import { GITHUB_PUSH_EVENT, GITHUB_PR_EVENT } from '../fixtures'; const runId = parseInt(process.env.GITHUB_RUN_ID, 10); +const job = process.env.GITHUB_JOB; describe('Utils', () => { describe('formatChannelName', () => { @@ -46,7 +47,7 @@ describe('Utils', () => { expect(attachments[0].fields.find(a => a.title === 'Job')).toEqual({ title: 'Job', - value: ``, + value: ``, short: true, }); });