Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Commit

Permalink
unit testing with mocha and chai
Browse files Browse the repository at this point in the history
  • Loading branch information
Prosen-Ghosh committed Aug 26, 2017
1 parent c767e4a commit aa21cc1
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
334 changes: 334 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A JavaScript package for random things.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha || true"
},
"repository": {
"type": "git",
Expand All @@ -23,5 +23,9 @@
"bugs": {
"url": "https://github.com/Prosen-Ghosh/random-pro/issues"
},
"homepage": "https://github.com/Prosen-Ghosh/random-pro#readme"
"homepage": "https://github.com/Prosen-Ghosh/random-pro#readme",
"devDependencies": {
"chai": "^4.1.1",
"mocha": "^3.5.0"
}
}
Loading

0 comments on commit aa21cc1

Please sign in to comment.