Fix test
This commit is contained in:
@@ -21,8 +21,7 @@ describe('command-helper tests', () => {
|
||||
permission: 'write',
|
||||
issueType: 'both',
|
||||
allowEdits: false,
|
||||
// Should be the value of github.repository, but '' for tests
|
||||
repository: '',
|
||||
repository: 'peter-evans/slash-command-dispatch',
|
||||
eventTypeSuffix: '-command',
|
||||
staticArgs: [],
|
||||
dispatchType: 'repository',
|
||||
|
||||
@@ -9,3 +9,6 @@ module.exports = {
|
||||
},
|
||||
verbose: true
|
||||
}
|
||||
process.env = Object.assign(process.env, {
|
||||
GITHUB_REPOSITORY: "peter-evans/slash-command-dispatch"
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user