Clear timers from Node.JS module

XMLWordPrintableJSON

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

      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
              Reporter:
              Alec Gibson
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: