Challenge Overview
Challenge Summary
Welcome to “Billing Rate App Frontend Unit tests”! The goal of this challenge is to add unit tests to the existing Angular 9 project.
Project Overview
Our client wants to build a tool that has the capability to calculate & view rates for a given population of contracts within specified groups or lists of members. Please go through the Individual requirement section for more details.
Technology Stack
Angular 9, TypeScript, Material Design, Angular Flex
BROWSER REQUIREMENTS
A Responsive web-app supporting the following devices and browsers.
- Windows: Edge / IE11 / Chrome
- Mac OS: Chrome
- Mobile: chrome
- tablet: chrome
Assets
The following items are shared on the forum
- Angular frontend code
- Backend node js code
Individual requirements
Please implement the following page:
- Overall coverage should be 85% at minimum for components,
- Coverage for services, classes, functions should be 100%.
- Typescript must be used to write the tests
- Add the proper comments as necessary to understand the code
- Each method should be tested independently(mock any dependencies such as backend API calls or other public methods)
- Code refactoring without breaking the functionality is allowed
- No lint errors
- No errors with prod build
Final Submission Guidelines
Submit the zip containing
- Updated Angular source code with detailed readme to run tests with code coverage