hyperstack-org / hyperstack-org/hyperstack

Hyperspec Timecop is a buggy

Đang mở
#386 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
JavaScript
Star
538
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.