Closed sjparkinson closed 5 years ago
Two errors in the test suite to be addressed.
FAIL test/commands/project.test.js
● Test suite failed to run
TypeError: require(...).plugin is not a function
1 | const Octokit = require('@octokit/rest')
> 2 | .plugin(require('@octokit/plugin-throttling'))
| ^
3 | .plugin(require('@octokit/plugin-retry'));
4 |
5 | let client;
at Object.plugin (src/lib/octokit.js:2:3)
at Object.require (src/commands/project.js:1:20)
you'll want to add a module.exports.plugin = () => module.exports
or something to the Octokit mock
Ah awesome, thanks! Was hitting a wall with it 😂
This will help us in avoiding the abuse rate limits when opening many pull requests at once.