hyperstack-org / hyperstack-org/hyperstack

Hyperspec Timecop is a buggy

Open
#386 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
538
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Timecop.freeze
...
Timecop.travel(Time.now+30.seconds). # time moves a few seconds on the display then freezes
...
Timecop.travel(Time.now+1.minute) # time now moves 30 seconds
...
another scenario
# time is running normally
Timecop.travel(Time.now+30.seconds)
Timecop.freeze. # time does not update.

It seems that the multiple commands coming from the server are confusing things.

This seems to work sort of okay:
Timecop.travel(TIme.now+30.seconds)
sleep 1
Timecop.freeze

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.