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

Add a test to prevent unhandled rejections from passing tests

    • 3
    • Not Needed
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Not Needed

      Use Case

      As a... Node.js engineer
      I want... coverage for KMS socket error handling
      So that... NODE-6803 does not regress

      User Experience

      • None

      Dependencies

      • None

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Configure mocha to fail on unhandled rejections by throwing from an unhandledRejection listener

      Testing Requirements

      • Test must fail if an unhandled rejection occurs

      Documentation Requirements

      • None

      Follow Up Requirements

      • None

        There are no Sub-Tasks for this issue.

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

              Created:
              Updated:
              Resolved: