mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-09-12 22:18:22 +08:00
node_modules
This commit is contained in:
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()
|
Reference in New Issue
Block a user