Improve BSON testing code

XMLWordPrintableJSON

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

      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
            Reporter:
            Neal Beeken
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: