mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #2527] [MERGED] feat: added delay flag in @hoppscotch/cli and related tests #3874
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#3874
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/2527
Author: @devblin
Created: 7/23/2022
Status: ✅ Merged
Merged: 8/4/2022
Merged by: @AndrewBastin
Base:
main← Head:feat/hopp-cli-delay📝 Commits (4)
8dd88cefeat: added delay flag in @hoppscotch/cli and related tests69b8b1fchore: updated lock file3ab0f9erefactor: updated request runner delay execution with new delay function1b64b34chore: bump hoppscotch-cli version to 0.3.0📊 Changes
13 files changed (+163 additions, -19 deletions)
View changed files
📝
packages/hoppscotch-cli/package.json(+1 -1)📝
packages/hoppscotch-cli/src/__tests__/commands/test.spec.ts(+37 -8)➕
packages/hoppscotch-cli/src/__tests__/functions/request/delayPromiseFunction.spec.ts(+30 -0)📝
packages/hoppscotch-cli/src/__tests__/functions/request/processRequest.spec.ts(+18 -3)📝
packages/hoppscotch-cli/src/commands/test.ts(+2 -0)📝
packages/hoppscotch-cli/src/index.ts(+4 -0)➕
packages/hoppscotch-cli/src/options/test/delay.ts(+20 -0)📝
packages/hoppscotch-cli/src/types/collections.ts(+1 -0)📝
packages/hoppscotch-cli/src/types/commands.ts(+1 -0)📝
packages/hoppscotch-cli/src/types/request.ts(+7 -0)📝
packages/hoppscotch-cli/src/utils/collections.ts(+14 -2)📝
packages/hoppscotch-cli/src/utils/getters.ts(+5 -0)📝
packages/hoppscotch-cli/src/utils/request.ts(+23 -5)📄 Description
Closes #2507
Description
This feature introduces
-d, --delayflag to allow providing delay (in milliseconds) between execution of consecutive requests.Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.