Wellmark CIM - Outbound Mail Processor/API - Add Unit Test

Register
Submit a solution
The challenge is finished.

Challenge Overview

CHALLENGE OBJECTIVES

In previous challenges, we built Outbound Mail Processor/API. In this challenge, we are going to add Unit Tests.

PROJECT BACKGROUND

Wellmark is a health insurance company which has run dozens of projects already on Topcoder.

The objective of this project is to build Outbound Mail Processor/API for their Customer Interaction Management division.

Tech Stack

  • Typescript
  • Nodejs 12
  • NestJs
  • MongoDB

Individual Requirement

  • All files in src/api, src/processor and src/shared are in scope
  • All error cases need to be covered. This is a major requirement.
  • Writing to file needs to be mocked using https://www.npmjs.com/package/memfs . Writing files in disk in tests is not allowed.
  • Minimum 90% coverage for each file in scope
  • Please use Jest as it's already in the project.


Final Submission Guidelines

source code in zip
please update readme file to explain how to run the tests

ELIGIBLE EVENTS:

2020 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30120257