Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4522 Remove callbacks from all public method signatures
  3. NODE-4975

Follow up - Modify all test files to import driver APIs from one registry file

    • Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 5.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 0
    • Not Needed
    • Not Needed

      In order to continue using our large set of callback style tests we need to patch the driver API that has promise only support to work with callbacks. We need all tests to import from one file in order to reintroduce a callback optional API for our tests to depend on.

      AC

      • All tests should have their imports modified to import from a single file
        • see register-bson.js in the BSON repo for reference
      • Not all the imports were caught in NODE-4918, this finishes the job

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: