Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 660 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 660 Bytes

Last Train to Nodeville

Instructions

In the initial commit to this project, you have been provided with files in an initial commit that contain a JavaScript module and some associated tests. Your task is to use NPM to setup the necessary project dependencies to make it possible for the command npm test to successfully run the test suite.

Provided Files

index.js - this file contains a JavaScript module for calculating ticket prices based on peak/off-peak hours

test.js - this file contains tests for the functions in the calculateTicketPrice module

Exercise Submission

You should submit your working changes in a pull request.