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

Improve objectid.test.ts tests relating to primary key usage

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Testing

      Summary

      This test has a mix of objectId related tests and generic coverage for using alternative primary keys like dates.

      Important coverage here is that objectIds can be queried as a range $gt/$lt, that's the server's job to get right but we should make sure our helpers that create an Oid from a timestamp continue working (there is a test for this, it could just use cleaning up and more input cases)

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

              Created:
              Updated: