Skip to content

Commit

Permalink
Updating package.json for unit test error in mocha
Browse files Browse the repository at this point in the history
Replacing 
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
with 
  "scripts": {
    "test": "mocha 'test/**/*.ts'"
  },
due to a bug in mocha 6.0
mochajs/mocha#3763
  • Loading branch information
ravindranathbarathy-cts authored Aug 29, 2019
1 parent 0f6e279 commit 57c9ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Sample Dashboard App",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha 'test/**/*.ts'"
},
"author": "Kaviya Kulothungan",
"license": "ISC",
Expand Down

0 comments on commit 57c9ff8

Please sign in to comment.