Skip to content

sam1zdat/calculator

 
 

Repository files navigation

Calculator.js: a node.js Demonstration Project

An example node.js project, including tests with mocha, that behaves like a pocket calculator.

The project contains a simple node.js application that exposes REST APIs to perform arithmetic on integers, and provides a test suite with mocha and chai. The mocha-junit-reporters package is included to provide XML output that can be presented in a continuous integration tool like Azure DevOps.

![Build Status] (https://dev.azure.com/ahmedziad-AZ-400/Integrating%20External%20Source%20Control%20with%20Azure%20PipelinesDEMO/_apis/build/status/sam1zdat.calculator?branchName=master)(https://dev.azure.com/ahmedziad-AZ-400/Integrating%20External%20Source%20Control%20with%20Azure%20PipelinesDEMO/_build/latest?definitionId=33&branchName=master)

To build, simply:

  1. Runs npm install to install dependencies.
  2. Runs npm test to run Mocha and execute the unit tests.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.0%
  • HTML 34.9%
  • CSS 12.5%
  • Dockerfile 0.6%