refactor: remove redundan '&& cd ../' from scripts

This commit is contained in:
Oliver Eyton-Williams
2020-08-27 18:34:04 +02:00
committed by Mrugesh Mohapatra
parent 4e018802e1
commit c55e1a7464

View File

@ -56,11 +56,11 @@
"serve:client": "cd ./client && npm run serve", "serve:client": "cd ./client && npm run serve",
"start": "npm-run-all ensure-env -p develop:server serve:client", "start": "npm-run-all ensure-env -p develop:server serve:client",
"test": "npm-run-all -p test:*", "test": "npm-run-all -p test:*",
"test:client": "cd ./client && npm test && cd ../", "test:client": "cd ./client && npm test",
"test:curriculum": "cd ./curriculum && npm test && cd ../", "test:curriculum": "cd ./curriculum && npm test",
"test-curriculum-full-output": "cd ./curriculum && npm run test:full-output", "test-curriculum-full-output": "cd ./curriculum && npm run test:full-output",
"test:curriculum-js": "jest --rootDir ./curriculum", "test:curriculum-js": "jest --rootDir ./curriculum",
"test:server": "cd ./api-server && npm test && cd ../", "test:server": "cd ./api-server && npm test",
"test:tools": "jest ./tools", "test:tools": "jest ./tools",
"test:utils": "jest --rootDir ./utils" "test:utils": "jest --rootDir ./utils"
}, },