Skip to content

Commit

Permalink
update test script to use mocha, so tests can be run
Browse files Browse the repository at this point in the history
  • Loading branch information
uwaseem committed Oct 18, 2020
1 parent 8e70e08 commit f63ecdb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
"description": "Generates random dessert names from a precompiled list in code. No database is used.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node ./node_modules/mocha/bin/mocha"
},
"keywords": [
"dessert",
"random"
],
"author": "sanijalal",
"license": "ISC"
"license": "ISC",
"devDependencies": {
"mocha": "^8.2.0"
}
}

0 comments on commit f63ecdb

Please sign in to comment.