From f212270f6428d22e787f3526fee2f098497cc39a Mon Sep 17 00:00:00 2001 From: Outi Savolainen <43496587+outisa@users.noreply.github.com> Date: Mon, 5 Aug 2024 13:59:37 +0300 Subject: [PATCH 1/2] Update package.json --- backend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 46cdbabf..ab88a2e4 100644 --- a/backend/package.json +++ b/backend/package.json @@ -7,7 +7,7 @@ "start": "NODE_ENV=production node index.js", "dev": "cross-env NODE_ENV=development nodemon index.js", "test": "NODE_ENV=test node -- tests/bacterium_api.test.js", - "test-gh-bacterium": " cd ./tests && cross-env NODE_ENV=testserver -- /est/bacterium_api.test.js", + "test-gh-bacterium": "cross-env NODE_ENV=testserver -- tests/bacterium_api.test.js", "test-gh-test": "cross-env NODE_ENV=testserver -- tests/test_api.test.js", "test-gh-user": "cross-env NODE_ENV=testserver -- tests/user_api.test.js", "test-gh-game": "cross-env NODE_ENV=testserver -- tests/game_api.test.js", From dba7fd6785d6eaa4bada518d3914e15b69da16a6 Mon Sep 17 00:00:00 2001 From: Outi Savolainen <43496587+outisa@users.noreply.github.com> Date: Mon, 5 Aug 2024 14:04:46 +0300 Subject: [PATCH 2/2] Update package.json --- backend/package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/package.json b/backend/package.json index ab88a2e4..779806b7 100644 --- a/backend/package.json +++ b/backend/package.json @@ -7,13 +7,13 @@ "start": "NODE_ENV=production node index.js", "dev": "cross-env NODE_ENV=development nodemon index.js", "test": "NODE_ENV=test node -- tests/bacterium_api.test.js", - "test-gh-bacterium": "cross-env NODE_ENV=testserver -- tests/bacterium_api.test.js", - "test-gh-test": "cross-env NODE_ENV=testserver -- tests/test_api.test.js", - "test-gh-user": "cross-env NODE_ENV=testserver -- tests/user_api.test.js", - "test-gh-game": "cross-env NODE_ENV=testserver -- tests/game_api.test.js", - "test-gh-game-testing": "cross-env NODE_ENV=testserver -- tests/game-testing.test.js", - "test-gh-credit": "cross-env NODE_ENV=testserver -- tests/credit_api.test.js", - "test-gh-case": "cross-env NODE_ENV=testserver -- tests/case_api.test.js", + "test-gh-bacterium": "cross-env NODE_ENV=testserver -- ./tests/bacterium_api.test.js", + "test-gh-test": "cross-env NODE_ENV=testserver -- ./tests/test_api.test.js", + "test-gh-user": "cross-env NODE_ENV=testserver -- ./tests/user_api.test.js", + "test-gh-game": "cross-env NODE_ENV=testserver -- ./tests/game_api.test.js", + "test-gh-game-testing": "cross-env NODE_ENV=testserver -- ./tests/game-testing.test.js", + "test-gh-credit": "cross-env NODE_ENV=testserver -- ./tests/credit_api.test.js", + "test-gh-case": "cross-env NODE_ENV=testserver -- ./tests/case_api.test.js", "build:ui": "rm -rf build && cd ../frontend && npm run build --prod && cp -r build ../backend", "lint": "eslint .", "prettier": "prettier",