You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/api/class-clock.md
+63Lines changed: 63 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,11 +64,26 @@ Install fake implementations for the following time-related functions:
64
64
Fake timers are used to manually control the flow of time in tests. They allow you to advance time, fire timers, and control the behavior of time-dependent functions. See [`method: Clock.runFor`] and [`method: Clock.fastForward`] for more information.
65
65
66
66
### option: Clock.install.time
67
+
* langs: js, java
67
68
* since: v1.45
68
69
-`time` <[long]|[string]|[Date]>
69
70
70
71
Time to initialize with, current system time by default.
71
72
73
+
### option: Clock.install.time
74
+
* langs: python
75
+
* since: v1.45
76
+
-`time` <[float]|[string]|[Date]>
77
+
78
+
Time to initialize with, current system time by default.
79
+
80
+
### option: Clock.install.time
81
+
* langs: csharp
82
+
* since: v1.45
83
+
-`time` <[string]|[Date]>
84
+
85
+
Time to initialize with, current system time by default.
0 commit comments