spatie/pest-plugin-test-time
A Pest plugin for controlling time in tests. Freeze or advance Carbon’s current time with testTime()->freeze() and addMinute(), and use the toBeCarbon expectation to assert Carbon date and time values clearly.
|
Package
|
Constraint
|
|---|---|
| nesbot/carbon | ^3.0 |
| pestphp/pest | ^4.0|^5.0 |
| spatie/test-time | ^1.3.2 |
None
How can I help you explore Laravel packages today?