Skip to content

LuisMiguelRodriguez/challengeTime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

challengeTime

#Top Ten Best Coding Challenge Website For 2018
https://medium.com/coderbyte/the-10-best-coding-challenge-websites-for-2018-12b57645b654

Jest Testing

To Run test app.test.js in a single folder Example:

$ jest ../12-integer-to-roma/ --watch

Mocha Testing

Mocha runs in the root directory and find a folder called Test and run test files in there

//package.json

"scripts": {
    "mocha": "mocha"

If test files are in a desired folder add the directory after the cmd Mocha will look for any files that contains the name test (I.G. app.test.js, test.js) Or even in a directory called test/test.js

$ npm run mocha
# or
$ npm run mocha ./<Folder>/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •