hyperstack-org / hyperstack-org/hyperstack

Hyperspec Timecop is a buggy

Aperta
#386 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
538
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.