Skip to content

This project was created to learn how to use Mocha/Chai, a JavaScript test framework for node.js.

Notifications You must be signed in to change notification settings

Md-Soliman-Ali/Mocha-Chai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mocha-Chai Framework

  • Mocha is a feature-rich JavaScript test framework for node.js
  • Chai is a BDD (Behavior-driven development) / TDD (Test-driven development) Assertion library for node.js

Some VS Code User Shortcut

  • Shift+Alt+F (To indent user code)
  • Click to File -> Auto Save (For saving your code automatically)
  • Ctrl+/ (To comment Your Code)
  • Shift+Tab (To reverse Tab)

Install Following Package

npm init -y

npm i mocha chai

npm i shelljs

How To Run

npm test file .\calculation.test.js

npx mocha --timeout=30000 .\calculation.test.js

npm test

About

This project was created to learn how to use Mocha/Chai, a JavaScript test framework for node.js.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published