From 2425245bb2a3befadde035a6af9cb35ec6477ddb Mon Sep 17 00:00:00 2001 From: Sam-Nadar <128208854+Sam-Nadar@users.noreply.github.com> Date: Thu, 22 Jun 2023 11:02:11 +0530 Subject: [PATCH] Update package.json Updated package.json for the scripts to run properly. Just added the word "node " in front(or in beginning of the path) of the path --- 02-nodejs/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/02-nodejs/package.json b/02-nodejs/package.json index 4858530a..e9e1e22a 100644 --- a/02-nodejs/package.json +++ b/02-nodejs/package.json @@ -5,10 +5,10 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "test-fileServer": "./node_modules/jest/bin/jest.js ./tests/fileServer.test.js", - "test-todoServer": "./node_modules/jest/bin/jest.js ./tests/todoServer.test.js", - "test-authenticationServer": "./node_modules/jest/bin/jest.js ./tests/authenticationServer.test.js", - "test-all": "./node_modules/jest/bin/jest.js ./tests/" + "test-fileServer": "node ./node_modules/jest/bin/jest.js ./tests/fileServer.test.js", + "test-todoServer": "node ./node_modules/jest/bin/jest.js ./tests/todoServer.test.js", + "test-authenticationServer": "node ./node_modules/jest/bin/jest.js ./tests/authenticationServer.test.js", + "test-all": "node ./node_modules/jest/bin/jest.js ./tests/" }, "keywords": [], "author": "",