From 57c9ff806e0917752a7027187782a0daee37ea93 Mon Sep 17 00:00:00 2001 From: ravindranathbarathy-cts <45344749+ravindranathbarathy-cts@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:22:31 -0500 Subject: [PATCH] Updating package.json for unit test error in mocha Replacing "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, with "scripts": { "test": "mocha 'test/**/*.ts'" }, due to a bug in mocha 6.0 https://github.com/mochajs/mocha/issues/3763 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0e2b214..be1d1a2 100644 --- a/package.json +++ b/package.json @@ -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",