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

Clear timers from Node.JS module

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

      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:
            daria.pardue@mongodb.com Daria Pardue
            Reporter:
            alec@reedys.com Alec Gibson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: