Creates an issue even if inputs.issue_labels is not given (#21)

* Creates an issue even if inputs.issue_labels is not given

* 1.0.0

* Use v1.0.0 in example, daily scan
This commit is contained in:
Naoki Oketani
2019-12-09 22:49:41 +09:00
committed by GitHub
parent be0cdcbe10
commit 2e5ad3c2cf
7 changed files with 20 additions and 16 deletions

View File

@@ -8,8 +8,8 @@ describe('getIssueOption', () => {
const expected: IssueOption = {
title: 'npm audit found vulnerabilities',
body: 'hi',
assignees: [''],
labels: ['']
assignees: undefined,
labels: undefined
}
expect(issue.getIssueOption('hi')).toEqual(expected)
})