When running the jasmine-globals transform against a codebase that uses jasmine.clock().mockDate(), there is a warning that this functionality is not supported in Jest (source).
This was likely true with Jest's legacy timers implementation, however, there is now jest.setSystemTime(), as well as the FakeTimersConfig.now option that can be used for this purpose.
When running the
jasmine-globals
transform against a codebase that usesjasmine.clock().mockDate()
, there is a warning that this functionality is not supported in Jest (source).This was likely true with Jest's legacy timers implementation, however, there is now jest.setSystemTime(), as well as the FakeTimersConfig.now option that can be used for this purpose.