Skip to content

Latest commit

 

History

History
 
 

30daysOFcode_JavaScript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hacker-Rank 30 Days of Code - JS Solutions with Test Cases

  • To run test cases, follow these steps

    1. Change directory to "30daysOFcode_JavaScript" on your terminal.
      cd 30daysOFcode_JavaScript

    2. For a particular code file, run the test file by using the following command.
      npm t filename.test.js

  • While contributing, Please add a test file in the tests folder corresponding to the original program file following the naming convention.

  • Convention:
    If HackerRank.js is the solution file, Test file should be named HackerRank.test.js