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

Implement missing crud test and update incomplete existing one

      The crud spec specifies two prose tests. We have not implemented #1 in the driver, and #2 needs a closer look to ensure we are covering what we are supposed to.

      Acceptance Criteria

      • Fix test #2 to ensure we are actually testing what is meant by WriteError
        • Currently, there are two tests: one for a MongoServerError on a single insert, and one for MongoBulkWriteError for an insertMany
        • Open question: which error class(es) should we actually be testing?
      • Implement test #1 as written

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

              Created:
              Updated: