mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3070] [MERGED] fix: timing dependency on test case #4211
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#4211
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/3070
Author: @mirarifhasan
Created: 5/22/2023
Status: ✅ Merged
Merged: 5/23/2023
Merged by: @AndrewBastin
Base:
release/2023.4.4← Head:fix/user-history-test-case📝 Commits (1)
46ac7e3fix: timing dependency on test case📊 Changes
1 file changed (+5 additions, -3 deletions)
View changed files
📝
packages/hoppscotch-backend/src/user-history/user-history.service.spec.ts(+5 -3)📄 Description
Closes HBE-194
Description
In this PR, we fix a unit test issue for the backend by which the build was being failed.
Here if you see, you will notice that the
executedOnvalue is mismatched by a millisecond. This occurred because of we had writtennew Date()twice instead of using the same reference.https://github.com/hoppscotch/hoppscotch/actions/runs/4777765956/jobs/8493727095
How to Reproduce Issue
Just run the backend test cases, sometime you will get this issue.
Checks
Additional Information
Nil
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.