Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4445

Investigate NODE-4444 - Clear timers from Node.JS module

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • Not Applicable
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Not Needed

      NODE-4444 Description
      Timers are now explicitly imported from the Node.js `timers` module as of https://github.com/mongodb/node-mongodb-native/pull/3275 (done as part of this ticket: https://jira.mongodb.org/browse/NODE-4281)

      However, that change only enforced importingĀ setting timers, notĀ clearing timers, which could also diverge (and indeed I think this potentially causes confusing downstream behaviour when combined with eg sinon Fake Timers).

      We should also require the corresponding timer clearing methods are imported from the Node.js module for consistency.

            Assignee:
            Unassigned Unassigned
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: