Filter comments by content instead of actor (#519)

* Filter comments by content instead of actor

* Remove dead actor code

* WIP fix tests

* Fix test
This commit is contained in:
Luke Tomlinson
2021-07-12 10:37:47 -04:00
committed by GitHub
parent 678bfc7a59
commit d901397e11
11 changed files with 122 additions and 160 deletions

View File

@@ -539,14 +539,14 @@ class IssuesProcessorBuilder {
build(): IssuesProcessorMock {
return new IssuesProcessorMock(
this._options,
async () => 'abot',
async p => (p === 1 ? this._issues : []),
async () => [
{
user: {
login: 'notme',
type: 'User'
}
},
body: 'body'
}
],
async () => new Date().toDateString()