Skip to content

Mock timers in unit tests #199

Description

@pomerantsev

We are running some number of tests with real timers — I couldn’t make them work with the mock timers that come with NodeJS’s native test runner, but they’re marked as experimental. Should I use Jest instead of the native runner to make it work?

Some info: https://nodejs.org/en/learn/test-runner/mocking#time

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions