Skip to content

A JavaScript function that takes a JSON object of match results and creates a JSON object of the league table after the final round of matches.

Notifications You must be signed in to change notification settings

allygraham/league

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

league

The purpose of this script:

Take JSON object of match results and create the league table after the final round of matches.

Tests

This script is unit tested with Jest. To install it on your machine, open a terminal and type:

npm install --save-dev jest

Run tests

Type npm test to get the tests running.

npm test

Further work

  • Document code/add comments where applicable
  • Simplfy functions further to make more readable
  • Add more unit tests for full coverage across the functions

About

A JavaScript function that takes a JSON object of match results and creates a JSON object of the league table after the final round of matches.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published