From 85cccabcc1fb597f8aa6ccf3ca15d3cb07fa81b0 Mon Sep 17 00:00:00 2001 From: Phan Anh Tuan Date: Fri, 8 Dec 2023 16:54:05 +0700 Subject: [PATCH] fix: update package.json to use npm in test command --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 848b85d35..95b67f576 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ "stop": "docker-compose stop", "prepare": "husky install", "jest": "NODE_OPTIONS='--loader ts-node/esm' jest", - "test": "docker compose up aurad -d && npm run jest --verbose --runInBand --forceExit && docker compose stop aurad && docker rm aurad_erascope", - "test-ci": "npm run jest --verbose --runInBand --forceExit", + "test": "docker compose up aurad -d && npm run jest -- --verbose --runInBand --forceExit && docker compose stop aurad && docker rm aurad_erascope", + "test-ci": "npm run jest -- --verbose --runInBand --forceExit", "test-watch": "npm run jest --watch", "test-coverage": "npm run jest --coverage", "lint": "echo 'Running lint for repository' && eslint ." @@ -128,4 +128,4 @@ "tsconfig-paths": "^4.1.1", "typescript": "^4.8.4" } -} \ No newline at end of file +}