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

Cannot use afterEach to cleanup because of current leak checker logic

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • Labels:

      What problem are you facing?

      In the current implementation (both for 3.x and 4.x), the execution order for the leak checker interferes with the ability to do test clean up in an afterEach, since the leak checker is always registered first. We should fix this at least in 4.x.

       

      Dev note: 

      See potential new leak checker code:

            Assignee:
            Unassigned Unassigned
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: