forked from mirrors/action-gh-release
setup integration test
This commit is contained in:
parent
1a522d88d8
commit
845942e04a
555 changed files with 103819 additions and 1 deletions
14
node_modules/@octokit/plugin-throttling/test/memory-leakage-test.js
generated
vendored
Normal file
14
node_modules/@octokit/plugin-throttling/test/memory-leakage-test.js
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
const { iterate } = require('leakage')
|
||||
const Octokit = require('@octokit/rest')
|
||||
.plugin(require('..'))
|
||||
|
||||
const result = iterate(() => {
|
||||
Octokit({
|
||||
throttle: {
|
||||
onAbuseLimit: () => {},
|
||||
onRateLimit: () => {}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
result.printSummary()
|
Loading…
Add table
Add a link
Reference in a new issue