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

Improve BSON testing code

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: BSON, Testing
    • Labels:

      Details

      There are some quick win clean ups that we can apply broadly to all the BSON tests to get them in a better serviceable state.

      AC

      • import expect from chai in every file instead of attaching it to the global
      • rename every test file to follow the .test.ts/js convension to match driver (helps with glob filters)
      • remove synchronous usages of done()
        • Really nice to have: move tests to be organized the same way the source code is organized

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

              Created:
              Updated: