Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeinpanic committed Nov 14, 2020
1 parent 1ccefec commit a91e7b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions __tests__/github-connector.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ describe('Github connector()', () => {
});

describe('getIssueKeyFromTitle()', () => {
describe('if some of JIRA_PROJECT_KEY and CUSTOM_ISSUE_NUMBER_REGEXP are empty', () => {
describe('if some CUSTOM_ISSUE_NUMBER_REGEXP is empty', () => {
const INPUTS_MOCK = {
...MOCK_INPUT,
...{
JIRA_PROJECT_KEY: '',
CUSTOM_ISSUE_NUMBER_REGEXP: 'CUSTOM_ISSUE_NUMBER_REGEXP',
CUSTOM_ISSUE_NUMBER_REGEXP: '',
},
};
const getJIRAIssueKeyReturnValue = 'getJIRAIssueKeyByDefaultRegexp';
Expand Down

0 comments on commit a91e7b7

Please sign in to comment.