The GitHub client Probot uses changed getForRepo to listForRepo. Our tests mocked the GitHub client completely, so we missed that change. Updates the call, and modifies the tests to mock the real client; expect.spyOn will fail if it names something that's not already a function.
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would update some of our documentation based on your changes.
The GitHub client Probot uses changed
getForRepo
tolistForRepo
. Our tests mocked the GitHub client completely, so we missed that change. Updates the call, and modifies the tests to mock the real client;expect.spyOn
will fail if it names something that's not already a function.